Pregunta de entrevista de Globant

How do you sort data coming in from a database?