added subheader structure sorter