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

Share

sort(6-4,16-\frac{8}{4}\times 2,3^{3}-2^{2},\left(3+4\right)\times 6,3\times 4+2)
Divide 18 by 3 to get 6.
sort(2,16-\frac{8}{4}\times 2,3^{3}-2^{2},\left(3+4\right)\times 6,3\times 4+2)
Subtract 4 from 6 to get 2.
sort(2,16-2\times 2,3^{3}-2^{2},\left(3+4\right)\times 6,3\times 4+2)
Divide 8 by 4 to get 2.
sort(2,16-4,3^{3}-2^{2},\left(3+4\right)\times 6,3\times 4+2)
Multiply 2 and 2 to get 4.
sort(2,12,3^{3}-2^{2},\left(3+4\right)\times 6,3\times 4+2)
Subtract 4 from 16 to get 12.
sort(2,12,27-2^{2},\left(3+4\right)\times 6,3\times 4+2)
Calculate 3 to the power of 3 and get 27.
sort(2,12,27-4,\left(3+4\right)\times 6,3\times 4+2)
Calculate 2 to the power of 2 and get 4.
sort(2,12,23,\left(3+4\right)\times 6,3\times 4+2)
Subtract 4 from 27 to get 23.
sort(2,12,23,7\times 6,3\times 4+2)
Add 3 and 4 to get 7.
sort(2,12,23,42,3\times 4+2)
Multiply 7 and 6 to get 42.
sort(2,12,23,42,12+2)
Multiply 3 and 4 to get 12.
sort(2,12,23,42,14)
Add 12 and 2 to get 14.
2
To sort the list, start from a single element 2.
2,12
Insert 12 to the appropriate location in the new list.
2,12,23
Insert 23 to the appropriate location in the new list.
2,12,23,42
Insert 42 to the appropriate location in the new list.
2,12,14,23,42
Insert 14 to the appropriate location in the new list.