The shown groups' current order, by name.
Repaint every control. The toolbar already refreshes on each transaction; call this when state the document does not hold changes, a format painter arming, for instance.
Rearrange the groups; names are matched as for ToolbarOptions.groupOrder.
Relabel every button and group from another catalogue, in place: a new UI language.
Re-print the tooltips' keys, e.g. after the user rebinds one.
Show these groups, in this order, and hide the rest: what Help ▸ Customize toolbar applies. A hidden group leaves the bar whole and comes back as it was, so nothing is rebuilt and the page need not reload.
Every group the bar was built with, shown or hidden, in its default order.