SortBy¶
Sorts elements of a list according to a function.
A list of functions sorts by each criterion in turn.
A third argument orders the criterion values with a comparison function instead of canonically.
SortBy¶Sorts elements of a list according to a function.
A list of functions sorts by each criterion in turn.
A third argument orders the criterion values with a comparison function instead of canonically.