Python Sorted

a=[1,2,4,3,5]
sorted(a)

output:[1,2,3,4,5]
原文地址:https://www.cnblogs.com/kfx2007/p/4262440.html