\[\boxed{\text{5.103.}}\]
\[\textbf{а)}\ В\ порядке\ возрастания:\ \]
\[\frac{1}{13};\ \frac{3}{13};\ \frac{4}{13};\ \frac{5}{13};\ \frac{7}{13};\ \frac{9}{13};\ \frac{10}{13};\ \]
\[\frac{12}{13}\text{.\ }\]
\[\textbf{б)}\ В\ порядке\ убывания:\ \]
\[\frac{16}{17};\ \frac{13}{17};\ \frac{9}{17};\ \frac{6}{17};\ \frac{5}{17};\ \frac{4}{17};\ \frac{1}{17}\text{.\ \ }\]