Reorder hierarchy