bundles / IPython 9.18.0.dev / IPython / lib / pretty / _sorted_for_pprint
function
IPython.lib.pretty:_sorted_for_pprint
source: /IPython/lib/pretty.py:132
Signature
def _sorted_for_pprint(items)Summary
Sort the given items for pretty printing. Since some predictable sorting is better than no sorting at all, we sort on the string representation if normal sorting fails.
Aliases
IPython.lib.pretty._sorted_for_pprint