maxOption method
Finds the largest element in this collection according to the given Order.
If this collection is empty, None is returned.
Implementation
Option<A> maxOption(Order<A> order) => switch (knownSize) {
0 => none(),
_ => _reduceOptionIterator(iterator, order.max),
};