numPartitions now a parameter for sort(ord), aped sortByKey tests for testing sort(ord)