property Items.SortOrder as SubMenuSortOrderEnum
Sorts the items in the submenu.

TypeDescription
SubMenuSortOrderEnum A SubMenuSortOrderEnum expression that specifies the way the submenu displays its items.
By default, the SortOrder property is exSubMenuUnsorted, which indicates that the items are displayed on the submenu as they were added. Use the SortOrder property to sort the items to be displayed on the sub menu.