array with croissant order python code example Example: tri python >>> sorted([5, 2, 3, 1, 4]) [1, 2, 3, 4, 5]