Skip to main content
atoti.LexicographicalOrder(
    *,
    ascending: bool = True,
)
Lexicographical order. This order only differs from atoti.NaturalOrder for strings and for objects that do not implement Comparable.
Digit sequences in strings are compared character by character rather than by their numeric value:
Objects that do not implement Comparable are compared through their string representation:
See also: All the available orders.

Attributes

ascending

bool