Reorder elements in the group