Pergunta de entrevista da empresa Gartner

How would you sort an array of strings?