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

Share

sort(\frac{126}{3}-\frac{250}{125},\frac{1\times \frac{126}{-4}}{3}-\frac{250}{125})
Multiply 1 and 126 to get 126.
sort(42-\frac{250}{125},\frac{1\times \frac{126}{-4}}{3}-\frac{250}{125})
Divide 126 by 3 to get 42.
sort(42-2,\frac{1\times \frac{126}{-4}}{3}-\frac{250}{125})
Divide 250 by 125 to get 2.
sort(40,\frac{1\times \frac{126}{-4}}{3}-\frac{250}{125})
Subtract 2 from 42 to get 40.
sort(40,\frac{1\left(-\frac{63}{2}\right)}{3}-\frac{250}{125})
Reduce the fraction \frac{126}{-4} to lowest terms by extracting and canceling out 2.
sort(40,\frac{-\frac{63}{2}}{3}-\frac{250}{125})
Multiply 1 and -\frac{63}{2} to get -\frac{63}{2}.
sort(40,\frac{-63}{2\times 3}-\frac{250}{125})
Express \frac{-\frac{63}{2}}{3} as a single fraction.
sort(40,\frac{-63}{6}-\frac{250}{125})
Multiply 2 and 3 to get 6.
sort(40,-\frac{21}{2}-\frac{250}{125})
Reduce the fraction \frac{-63}{6} to lowest terms by extracting and canceling out 3.
sort(40,-\frac{21}{2}-2)
Divide 250 by 125 to get 2.
sort(40,-\frac{21}{2}-\frac{4}{2})
Convert 2 to fraction \frac{4}{2}.
sort(40,\frac{-21-4}{2})
Since -\frac{21}{2} and \frac{4}{2} have the same denominator, subtract them by subtracting their numerators.
sort(40,-\frac{25}{2})
Subtract 4 from -21 to get -25.
40,-\frac{25}{2}
Convert decimal numbers in the list 40,-\frac{25}{2} to fractions.
40
To sort the list, start from a single element 40.
-\frac{25}{2},40
Insert -\frac{25}{2} to the appropriate location in the new list.