How about adding `Comparator<T>` to `Compara...
# stdlib
h
How about adding
Comparator<T>
to
Comparator<in Iterable<T>>
conversion that will make a lexicographical comparator? Example implementation: https://github.com/h0tk3y/kotlin-fun/blob/master/src/main/kotlin/com/github/h0tk3y/kotlinFun/LexComparator.kt This comparator might not be consistent with
equals
, but Java comparator contract allows this.