To allow grouping by a field which doesn’t allow grouping by default, check the Allow Grouping box for that particular field in the Collection Fields dialog.
How do I group by a property other than the ones listed in the toolbar?
How do I group by a property other than the ones listed in the toolbar?