Available on java
@:overloadcompare(param1:T, param2:T):Int
@:overloadreversed():Comparator<T>
@:overloadthenComparing<U>(param1:Function<Dynamic, U>):Comparator<T>
@:overloadthenComparing(param1:Comparator<Dynamic>):Comparator<T>
@:overloadthenComparing<U>(param1:Function<Dynamic, U>, param2:Comparator<Dynamic>):Comparator<T>
@:overloadthenComparingDouble(param1:ToDoubleFunction<Dynamic>):Comparator<T>
@:overloadthenComparingInt(param1:ToIntFunction<Dynamic>):Comparator<T>
@:overloadthenComparingLong(param1:ToLongFunction<Dynamic>):Comparator<T>