arrow-core / arrow.core.extensions / NonEmptyListOrder / compare
open fun NonEmptyList<A>.compare(b: NonEmptyList<A>): Ordering
Do you like Arrow?