Previous Up Next

6.40.18  Sorting: sort

The sort command sorts lists and expression in various ways.

Note that using (x,y)->x>=y for f will to sort the list in decreasing order. This may also be used to sort a list of lists (that sort with one argument does not know how to sort).


Examples.


Previous Up Next