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.