maxBy

inline fun <A, B : Comparable<B>> NonEmptyList<A>.maxBy(selector: (A) -> B): A(source)