Reorder link definition sections.