h0tk3y
10/19/2016, 8:56 PMComparator<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.