Pergunta de entrevista da empresa Dino Systems

write a function that sorts an array (use already existing sort method and not implement my own)