reorder modes