Pergunta de entrevista da empresa Capgemini

Sort array which has number and char