Enter array of num(n):


Sort the array in ascending order.