public void setMenuGroup(String[] menuPath, String group, String menuSubGroup) {
		if (menuSubGroup == null) {
			menuSubGroup = MenuData.NO_SUBGROUP;
		}

		String key = getMenuPathKey(menuPath);
		if (group == null) {
			preferredMenuGroups.remove(key);
		}
		else {
			preferredMenuGroups.put(key, group);
		}

		preferredMenuSubGroups.put(key, menuSubGroup);
	}
Sets the group for the given menuPath
@param menuPath the menuPath for which to assign a group
@param group the name of the group for the action with the given menu path
@param menuSubGroup the name used for sorting items in the same <code>group</code>.  If this 
       value is {@link MenuData#NO_SUBGROUP}, then sorting is based upon the name of the
       menu item.
Ghidra/Framework/Docking/src/main/java/docking/menu/MenuGroupMap.java