\[\boxed{\text{5.151.}}\]
\[\textbf{а)}\ В\ порядке\ возрастания:\ \]
\[\frac{2}{13};\ \frac{4}{13};\ \frac{7}{13};\ \frac{8}{13};\ \frac{9}{13};\ \frac{10}{13};\ \frac{12}{13}\text{.\ }\]
\[\textbf{б)}\ В\ порядке\ убывания:\ \]
\[\frac{12}{13};\ \frac{10}{13};\ \frac{9}{13};\ \frac{8}{13};\ \frac{7}{13};\ \frac{4}{13};\ \frac{2}{13}\text{.\ \ }\]