apache/incubator-spark — pull request #508 by ash211 (2014-01-24 08:26:22+00:00)
Title: Add .sortBy(f) method on RDD

I've written the below so many times that I think it'd be broadly useful to have a .sortBy(f) method on RDD:

.keyBy{l => }
.sortByKey()
.map(_._2)