sorted methods in object