cviebrock/twig-group (packagist): Twig filter that splits an array into a given number of groups (unlike batch, which splits the array based on items per group)
Keywords: templating|twig|group|filter|batch