5 4 3 2 1
[1, 2, 3, 4, 5]
10 30 80 50 40
[10, 30, 40, 50, 80]
99 101 105 1000 999
[99, 101, 105, 999, 1000]