Optum interview question

Sort an array