Reorganize groups.