It’s not possible to group records in the portal. However, there is an alternate way to group them. You will need to set this up using custom views.
💡Note
The custom view feature is available for any layout set within a portal table. If you have more than one custom view for a portal table, the records will show in separate tabs.