Pergunta de entrevista da empresa Visible Alpha

How will you sort numbers in an array?