Moved #map out of Enumerable (it affected SortedSet#map in an undesirable way)
SortedSet#sort and #sort_by return SortedSets (possibly with a different comparator)