Hi, When we can prefer range partitioner instead of hash partitioner. sortBy is using range partitioner. Thanks Suresh