Do the multiplications in the fraction $\frac{9\times 6}{5\times 13}$.
$$sort(\frac{35}{8},\frac{54}{65})$$
Least common denominator of the numbers in the list $\frac{35}{8},\frac{54}{65}$ is $520$. Convert numbers in the list to fractions with denominator $520$.
$$\frac{2275}{520},\frac{432}{520}$$
To sort the list, start from a single element $\frac{2275}{520}$.
$$\frac{2275}{520}$$
Insert $\frac{432}{520}$ to the appropriate location in the new list.
$$\frac{432}{520},\frac{2275}{520}$$
Replace the obtained fractions with the initial values.