maxBy

inline fun <E, T : Comparable<T>> NonEmptyList<E>.maxBy(selector: (E) -> T): E