Placing servos in groups

Thank you for the clarification.

If I could have some suggestions please on how I might achieve what I am trying to do in code I would be grateful.