Domanda di colloquio di Tata Consultancy Services

What logic is used for sorting numbers?