Since $\frac{10}{5}$ and $\frac{1}{5}$ have the same denominator, subtract them by subtracting their numerators.
$$sort(\frac{10-1}{5},7-\frac{1}{6})$$
Subtract $1$ from $10$ to get $9$.
$$sort(\frac{9}{5},7-\frac{1}{6})$$
Convert $7$ to fraction $\frac{42}{6}$.
$$sort(\frac{9}{5},\frac{42}{6}-\frac{1}{6})$$
Since $\frac{42}{6}$ and $\frac{1}{6}$ have the same denominator, subtract them by subtracting their numerators.
$$sort(\frac{9}{5},\frac{42-1}{6})$$
Subtract $1$ from $42$ to get $41$.
$$sort(\frac{9}{5},\frac{41}{6})$$
Least common denominator of the numbers in the list $\frac{9}{5},\frac{41}{6}$ is $30$. Convert numbers in the list to fractions with denominator $30$.