v=[6,3,1,8,5,7];sorted(v);print(v);
Standard input is empty
[6, 3, 1, 8, 5, 7]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!