The function produces a complete order from the vector of elements' labels elements
.
If elements
is a numeric vector, it is first coerced to a character vector.
A complete order is a poset where all of the elements are comparable; the order of the labels in elements
defines their position in the chain, from bottom to top.