Sort and add document menu item type