Add sorting operation to ShuffleReduce