Is it possible to select items from a sharepoint list in groups of 5? For instance, I am working with the modern tablist control. Unfortunately it does not seem to stack the tabs if there are more than 5 items. Instead you are presented with an ellipsis and a list.

In order to display 15 tabs, without an ellipsis, I am considering creating 3 separate sets of tabs (Records 1-5, 6-10 & 11-15). I thought about adding an additional column to Sharepoint to filter against, but I am already using a switch and filtering by another column. Here how I am currently pulling my items.
Switch(
var_MeetingType,
"Dev Group A",
Filter(
'Project Tracker',
DevGroup = "A"
),
"Dev Group B",
Filter(
'Project Tracker',
DevGroup = "B"
),
"Dev Group C",
Filter(
'Project Tracker',
DevGroup = "C"
)
)
My goal is to have the tab headers populate based on a set variable. Where the first 5 filtered records are represented in one set of tabs, then records 6-10 are in a second set of tabs and 11-15 in a third tab group.