Reduce the fraction $\frac{15}{12}$ to lowest terms by extracting and canceling out $3$.
$$sort(\frac{3}{4},\frac{3}{8},\frac{5}{4})$$
Least common denominator of the numbers in the list $\frac{3}{4},\frac{3}{8},\frac{5}{4}$ is $8$. Convert numbers in the list to fractions with denominator $8$.
$$\frac{6}{8},\frac{3}{8},\frac{10}{8}$$
To sort the list, start from a single element $\frac{6}{8}$.
$$\frac{6}{8}$$
Insert $\frac{3}{8}$ to the appropriate location in the new list.
$$\frac{3}{8},\frac{6}{8}$$
Insert $\frac{10}{8}$ to the appropriate location in the new list.
$$\frac{3}{8},\frac{6}{8},\frac{10}{8}$$
Replace the obtained fractions with the initial values.