The result I want is (simplyfied)
Food
4, Fast Food
5, Mexican
Sport
3, Tenis
So using Mapping component, I would like to group the initial output by MenuName (Food, Sport)
Can you explain why the JS code has the effect shown in the last two pictures uploaded please?
Thanks.