Before proving that every closed interval in $\mathbb{R}$ is compact, James R. Munkres remarks that, in Section 27 entitled "Compact Subspaces of the Real Line" of Topology (2nd edition),
Remark: We need only one of the order properties of the real line --- the least upper bound property. We shall prove the theorem using only this hypothesis; then it will apply not only to real line, but to well-ordered sets and other ordered sets as well.
The theorem mentioned above is as follows.
Theorem 27.1 Let $X$ be a simply ordered set having the least upper bound property. In the order topology, each closed interval in $X$ is compact.
According to the remark, the least upper bound property seems to be a subtle property of order sets, and
(Problem:) there should be some ordered sets which are not well-ordered while satisfying the least upper bound property. Could you give some examples as such?
Any comments on the relation between ordered sets and the least upper property are appreciated.
A nice example is $\mathbb{N} - \{ 0 \}$ ordered by divisibility, i.e. $a \le b$ if and only if $a \mid b$. This is a partial order which is not linear (let alone well-ordered).
If a set $X \subseteq \mathbb{N} - \{ 0 \}$ has an upper bound in this order then there must be some $a$ into which all $x \in X$ divide; in particular $X$ must be finite, and its least upper bound is the least common multiple of the elements of $X$.