apache/spark — pull request #1645 by lirui-intel (2014-07-30 02:48:20+00:00)
Title: SPARK-2740: allow user to specify ascending and numPartitions for sortBy...

It should be more convenient if user can specify ascending and numPartitions when calling sortByKey.