Paytm interview question

How are sorting algos distinguished?