If $f:\mathbb{Q}\rightarrow\mathbb{Q}$ is order-preserving bijection. Prove that $f$ can be extended to an order-preserving homeomorphism $F:\mathbb{R}\rightarrow\mathbb{R}$.
Attempt for Proof:The inverse of the given function is also order preserving and bijective. Lets define the extension first. Given a real number $x$, pick a sequence of rationals converging to $x$ from below, call them $a(n)$. Similarly, pick $b(n)$ that converges from above. Then we look at the images of these points. Now we use the fact that $f$ preserves order and conclude (how?) that there is a unique number between all $f[a(n)]$ and $f[b(n)]$. Define it to be the image of x.
Next we would need to prove such an extension is continuous and continuous inverse?