Major headings are now ordered correctly.