Added automatic grouping of Categories by topic.