Tracxn Interview Question

Sort an array of numbers