Available on java
staticmaxBy<T>(param1:Comparator<Dynamic>):BinaryOperator<T>
staticminBy<T>(param1:Comparator<Dynamic>):BinaryOperator<T>