Java Util Array Sort Python Method Chaining In Selenium