I modeled this method naming on Scala's sortBy but am happy for it to be named something else if the team thinks something else follows Spark/Scala conventions better.

http://www.scala-lang.org/docu/files/collections-api/collections_5.html