I have 25 command buttons. I need to split these 25 buttons into three groups of 10, 10, 5.

With a predefined value of 6(group5), 12(group10), and 4(group10).

What would be the easiest way to...