Ability to Group in Workflow Templates

It would be great to have a GroupBy in workflow templates.

Orderby allows sorting but not grouping.

Apololgies if there is already a request for this but I couldn’t find one.