Pergunta de entrevista da empresa IESoftek

Sort the three numbers sequentially in a row for the whole array.