arrow-core / arrow.core.extensions / IorOrder / compare
open fun Ior<L, R>.compare(b: Ior<L, R>): Ordering
Do you like Arrow?