In my course, they defined $\mathbb R$ as the smallest set that contain $\mathbb Q$ and that has the supremum property, i.e. that all upper-bounded set has a supremum.
1) My problem, it's that I don't know how I can be sure that such a set indeed exist. I'm not so sure how to construct it.
2) Also, if I can build such a set, how can I define $x\leq y$ if $x,y\notin \mathbb Q$.
I know that this question is not as general than my title. But at the end, I wonder how to do in the very general case.
You are right, one has to construct this set. Call a pair $(L, R)$ of proper subsets of $\mathbb{Q}$ a Dedekind cut if :
One can then define $\mathbb{R}$ as the union of $\mathbb{Q}$ with the set $D$ of all Dedekind cuts. One can then define the order $<'$ on $\mathbb{R}$ as follows :
$c <' q :\Longleftrightarrow \forall x \in L, \ x < q$ and
$q <' c :\Longleftrightarrow \forall x \in R, \ q < x$
$c < d :\Longleftrightarrow \exists x \in L', \ \forall y \in L, \ y < x$