NTT DATA Interview Question

How to sort list of numbers