sort method names in alphabetical order