Cognizant Interview Question

What is the difference between cluster by and sort by