Reorder roots