To move a group up or down within the group tree, use the arrow buttons in the I/O Manager.

If you move a group to another group by dragging and dropping it, it will become a subgroup.