arrow-core / arrow.core.extensions / ConstOrder / compare
open fun Const<A, T>.compare(b: Const<A, T>): Ordering
Do you like Arrow?