Reverse the group order

@stephanfowler 

I have reversed the group order to be more logical. When writing to CAPI, this order is wrong, unless I did a reverse.