changed order so subheadings render before children of item