Finds the maximum element of an iterable based on a key function.
type of the item
the iterable
the keys to compare by
Finds the maximum element of an iterable based on a key function.