Create Groups and Group Items Within

2

I have the following problem, I have a table with items and I need to create groups and name each item to its due group. I already distribute them by categories, which in the case I call 'families', however I need now to group them respectively into groups that are automatically generated that I can call a maximum value.

Thisisthecodethatreturnsmethetableabove,howeverIneededittobeseparatedthiswayhere:

    
asked by anonymous 07.11.2018 / 12:59

0 answers