Add a Section property to all pins, and apply the same value used in the Pin Group property to each pin's Section property.
Assign a Terminal Order from 1 to 10, starting with Power. Power should be Terminal Order 1, and Ground should be last, Terminal Order 10. For Orientation, set Power to "Top" and Ground to "Bottom." For the remaining sections/groups, you may decide the Terminal Order and Orientation yourself. For Orientation, distribute them between "Left" and "Right" — don't put everything on one side. Each group/section should have a different orientation.
I’ll generalize the groups, make each pin’s Section match its Pin Group, then set terminal order/orientation with Power first/top and Ground last/bottom. I’ll alternate the remaining groups left/right since there are more groups than side orientations.
Done — I generalized the pin grouping and verified every pin now has Section = Pin Group.
Applied ordering/orientation:
Power: Terminal Order 1, Top
Analog: Terminal Order 2, Left
Clock: Terminal Order 3, Right
Interface: Terminal Order 4, Right
Ground: Terminal Order 10, Bottom
Note: there are more non-power/non-ground groups than available side orientations, so I distributed them across Left/Right while keeping each group internally consistent.