How do I create Groupings in a Moodle course? In your Moodle course, click Participants > Enrolled users (dropdown menu) > Groupings > Create grouping
How do I use a Grouping in a Moodle activity? In the settings page for a Moodle activity, scroll down to the 'Common module settings' section and set the 'Group mode' and 'Grouping' settings.