Implementations for max(), min(), maxBy(), minBy().