To my knowledge to “ungroup” the grouped view by limiting the columns alignment is a near to impossible task. There are so many unknowns related to line length, and content of the different rows. In addition you might also run into issue with whether all the grouped elements are actually present within each group or not.
In most cases, I believe it’s easier to go the other way around, and that is to sort the table according to your groups, and then use CSS to hide away some of the equal values if one really are keen to get that grouped look. The thread below explores some variants on how to do this.