Citi Interview Question

given infinite 1 to 9 numbers randomly in an array sort them