Add sub category grouping to views