Pregunta de entrevista de Tata Consultancy Services

How to sort elements in SQL?