Lingo24 interview question

how do you sort the elements in an array in an efficient way.