A totally ordered set is a pair of a set is a set and a binary relation , called an order relation, which satisfies the following properties:
The real_numbers are a totally ordered set. So are any of the subsets of the real numbers, such as the rational_numbers or the integers.
The complex_numbers do not have a canonical total ordering, and especially not a total ordering that preserves all the properties of the ordering of the real numbers, although one can define a total ordering on them quite easily.