Next:
Sorting a list of
Up:
Sorting
Previous:
Sorting in place
Contents
Index
Return a sorted list
In [4]: a = ['c', 'b', 'a'] In [5]: sorted(a) Out[5]: ['a', 'b', 'c']