Pergunta de entrevista da empresa OmniPay

Write a program on ascending order for array of elements