Ordering.compare
Ordering.comparexy
Documentation
Compares values and returns an Ordering representing their order or yields an Incomparable_Values error when the values aren't comparable.
Compares values and returns an Ordering representing their order or yields an Incomparable_Values error when the values aren't comparable.