Next: Collection-storing, Previous: Collection-removing, Up: Collection [Index]
Return a sequenceable collection with the contents of the receiver sorted according to the default sort block, which uses #<= to compare items.
Return a sequenceable collection with the contents of the receiver sorted according to the given sort block, which accepts pair of items and returns true if the first item is less than the second one.