SPARK-696: sortByKey should use 'ascending' parameter