Silicon Labs interview question

Sort an array of number