对n个数字的数组A进行从小到大排序
第一行一个数字n
第二行n个数字,数组A
数组A从小到大排序后输出
6 1 1 4 5 1 4
1 1 1 4 4 5
1\leq n \leq 1 \times 10^6 ,1 \leq A[i] \leq 1000