Fixed the ordering of subitems.