[Collection] Modify sortBy() to use map() method