Hack ordering of headings