Skip to main content
Sort
Tick mark Image
Evaluate
Tick mark Image

Share

sort(5+1,9\times 10,-5)
Divide 5 by 5 to get 1.
sort(6,9\times 10,-5)
Add 5 and 1 to get 6.
sort(6,90,-5)
Multiply 9 and 10 to get 90.
6
To sort the list, start from a single element 6.
6,90
Insert 90 to the appropriate location in the new list.
-5,6,90
Insert -5 to the appropriate location in the new list.