Sort category names; Will refactor later