max
max(list: List<T>) : T? for any type T.
Returns the greatest item in the list, or null if there are no items in the list. The greatest item in a collection
is selected with the same order used for comparing items with relational expressions such as less-than (<) and
greater-than (>). See how comparisons work for more detail on the order of values.