sorting categories alphabetically