Sort the methods before testing their order