In example https://www.koolreport.com/examples/reports/koolphp_table/row_group/ we can see random months in year group.
In my project I commented 311 line in koolreport/core/src/widgets/koolphp/Table.php. I sort rows before in my query.
Also I translate month names in pipe(new Customfunction($row){...})