custom-menu-order-groups

custom-menu-order-groups is a variable defined in `cus-edit.el'.
Its value is
first


Documentation:
If non-nil, order group members within each customization group.
If `first', order groups before non-groups.
If `last', order groups after non-groups.

You can customize this variable.