Dino Systems interview question

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