Maintain tab ordering after reordering items.