Next: , Previous: SequenceableCollection-replacing items, Up: SequenceableCollection


1.147.9 SequenceableCollection: sorting

sort
Sort the contents of the receiver according to the default sort block, which uses #<= to compare items.


sortBy: sortBlock
Sort the contents of the receiver according to the given sort block, which accepts pair of items and returns true if the first item is less than the second one.