You are developing a new feature for the website which sells airline tickets: being able to sort tickets by price! You have already extracted the tickets' prices, so there's just the last step to be done...
You are given an array of integers. Sort it in non-descending order.
Output
Output space-separated elements of the sorted array.
Note
Remember, this is a very important feature, and you have to make sure the customers appreciate it!
您正在为销售机票的网站开发一个新功能:能够按价格排序机票!你已经提取了门票的价格,所以只有最后一步要做。。。
给你一个整数数组。按非降序排序。