Refactoring, fixed alphabetization on Category dropdown