Convert decimal number $31.32$ to fraction $\frac{3132}{100}$. Reduce the fraction $\frac{3132}{100}$ to lowest terms by extracting and canceling out $4$.
Convert decimal number $4.855$ to fraction $\frac{4855}{1000}$. Reduce the fraction $\frac{4855}{1000}$ to lowest terms by extracting and canceling out $5$.
Since $\frac{1264}{200}$ and $\frac{971}{200}$ have the same denominator, add them by adding their numerators.
$$sort(\frac{3167}{100},\frac{1264+971}{200})$$
Add $1264$ and $971$ to get $2235$.
$$sort(\frac{3167}{100},\frac{2235}{200})$$
Reduce the fraction $\frac{2235}{200}$ to lowest terms by extracting and canceling out $5$.
$$sort(\frac{3167}{100},\frac{447}{40})$$
Least common denominator of the numbers in the list $\frac{3167}{100},\frac{447}{40}$ is $200$. Convert numbers in the list to fractions with denominator $200$.
$$\frac{6334}{200},\frac{2235}{200}$$
To sort the list, start from a single element $\frac{6334}{200}$.
$$\frac{6334}{200}$$
Insert $\frac{2235}{200}$ to the appropriate location in the new list.
$$\frac{2235}{200},\frac{6334}{200}$$
Replace the obtained fractions with the initial values.