Modified the category_generator not to alphabetically sort.