Hi!
I've added some new changes to limereport, you can get it from github.
Check it please
P.S. For the correct grouping operations, it is necessary that the data is previously sorted. You have to add order by CODE_MALADE, sous_groupe, GROUPE to your sql query.