hirarchy reorder