sort methods by alphabetical order