The repartitionAndSortWithinPartitions
method works great.
But I don't really want to re-partition. I am happy with the way data is partitioned naturally.
I do want to sort the content of each partition.
I am not interested in a total sort.
Essentially, I want to avoid the reshuffling of data. I just need to get each partition content sorted.