Currently, sub-menus do not have any structure (ie. no dividers or order). We should maintain a strict structure for menus so that new menu items can only be added to specific areas of sub menus.
See here to understand how VS Code structures their menus!