I know about the proof found here: Proof there is a rational between any two reals.
I wanted to know if this similar proof is also correct?
Assume $x > 0$. Since $y > x$, it follows $y-x>0$. There exists some $n\in \mathbb{Z}^+$ such that $\frac{1}{n}<\min(y-x,x)$. Define $B=\{\frac{k}{n}\mid nx\ge k\in\mathbb{Z}^+\}$ which is nonempty by construction and bounded above by $x$.
Thus, $\sup(B)=\beta$ exists and $x-\beta<\frac{1}{n}$ by construction. Furthermore, $\beta\in B$ by the well ordering principle (edit: this is wrong). Hence, there exists some $k\in\mathbb{Z}^+$ so $\frac{k}{n}=\beta$ where $\frac{k+1}{n}>x$. Observe $x<\frac{k}{n}+\frac{1}{n}<x+(y-x)=y$.
If $y<0$, use $x=-y$ and $y=-x$ in the above proof to get $\frac{-(k+1)}{n}$ as the rational between x and y. If $y>0$ and $x<0$, use $0$ as the rational.