Do the multiplications in the fraction $\frac{4\left(-2\right)}{7\times 5}$.
$$sort(\frac{-8}{35},\frac{4}{6}-10)$$
Fraction $\frac{-8}{35}$ can be rewritten as $-\frac{8}{35}$ by extracting the negative sign.
$$sort(-\frac{8}{35},\frac{4}{6}-10)$$
Reduce the fraction $\frac{4}{6}$ to lowest terms by extracting and canceling out $2$.
$$sort(-\frac{8}{35},\frac{2}{3}-10)$$
Convert $10$ to fraction $\frac{30}{3}$.
$$sort(-\frac{8}{35},\frac{2}{3}-\frac{30}{3})$$
Since $\frac{2}{3}$ and $\frac{30}{3}$ have the same denominator, subtract them by subtracting their numerators.
$$sort(-\frac{8}{35},\frac{2-30}{3})$$
Subtract $30$ from $2$ to get $-28$.
$$sort(-\frac{8}{35},-\frac{28}{3})$$
Least common denominator of the numbers in the list $-\frac{8}{35},-\frac{28}{3}$ is $105$. Convert numbers in the list to fractions with denominator $105$.
$$-\frac{24}{105},-\frac{980}{105}$$
To sort the list, start from a single element $-\frac{24}{105}$.
$$-\frac{24}{105}$$
Insert $-\frac{980}{105}$ to the appropriate location in the new list.
$$-\frac{980}{105},-\frac{24}{105}$$
Replace the obtained fractions with the initial values.