Fraction $\frac{-4}{7}$ can be rewritten as $-\frac{4}{7}$ by extracting the negative sign.
$$sort(-\frac{4}{7},\frac{4}{3},\frac{-4}{2})$$
Divide $-4$ by $2$ to get $-2$.
$$sort(-\frac{4}{7},\frac{4}{3},-2)$$
Convert decimal numbers in the list $-\frac{4}{7},\frac{4}{3},-2$ to fractions.
$$-\frac{4}{7},\frac{4}{3},-2$$
Least common denominator of the numbers in the list $-\frac{4}{7},\frac{4}{3},-2$ is $21$. Convert numbers in the list to fractions with denominator $21$.
$$-\frac{12}{21},\frac{28}{21},-\frac{42}{21}$$
To sort the list, start from a single element $-\frac{12}{21}$.
$$-\frac{12}{21}$$
Insert $\frac{28}{21}$ to the appropriate location in the new list.
$$-\frac{12}{21},\frac{28}{21}$$
Insert $-\frac{42}{21}$ to the appropriate location in the new list.
$$-\frac{42}{21},-\frac{12}{21},\frac{28}{21}$$
Replace the obtained fractions with the initial values.