String Array Sort Python Method Overriding