Java Util Array Sort Python Method Overriding And Overloading