Printer Template KDS

I’m using THE Kitchen Display Screen below.

I’ve been trying unsuccessfully to group kitchen display tickets not in ticket grouping but in product tag grouping.
i.e All burgers on one ticket all breakfasts one ticket and so forth basically like requested in this post below’s screenshot but without the task editor settings only a view ticket grouped by product tag.

I feel like a Ticket Lister would be good, but the template text is my problem for only showing different product tags.

Thank you.