private Map<String, List<Option>> organizeByGroup(List<Option> options) {
		Map<String, List<Option>> map =
			LazyMap.lazyMap(new LinkedHashMap<>(), () -> new ArrayList<>());

		for (Option option : options) {
			if (option.isHidden()) {
				continue;
			}
			String group = option.getGroup();
			List<Option> optionGroup = map.get(group);
			optionGroup.add(option);
		}
		return map;
	}
Construct a new OptionsEditorPanel
@param options the list of options to be edited.
@param addressFactoryService a service for providing an appropriate AddressFactory if needed
for editing an options.  If null, address based options will not be available.
Ghidra/Features/Base/src/main/java/ghidra/app/util/OptionsEditorPanel.java