Implemented orderByName for categories.