Let $(f_n)$ be a sequence of monotone functions on a compact interval $I$ which converges pointwise to a continuous function $f$. Show that $f$ is monotone and that $(f_n)$ converges uniformly to $f$.
I am unable to show that $f$ is monotone, considering that each $f_n$ can be either increasing or decreasing and I don't know if this is even true.
I know that if all of them are increasing/decreasing then it is true.