https://www.as400andsqltricks.com/2021/12/using-data-structure-to-group-fields-in.html