Putting the categories in alphabetical order