Amazon Interview Question

Sort an array in ascending order.