GroupSorted is a partitioned key-value RDD where the values for a given key are consecutive and within a single partition.
GroupSorted is a partitioned key-value RDD where the values for a given key are consecutive and within a single partition. The keys are sorted within a partition (using a custom hash based Ordering). The values can also be optionally sorted per key.