private Comparator<? super DockingActionIf> getSorter(ActionGroup actionGroup) {
		switch (actionGroup) {
			case GLOBAL_MENU:
			case LOCAL_MENU:
				return menuPathComparator;
			case POPUP:
				return popupPathComparator;
			case GLOBAL_TOOLBAR:
			case LOCAL_TOOLBAR:
			case KEYBINDING_ONLY:
			default:
				return nameComparator;
		}
	}
Returns the appropriate action sorter for the given ActionGroup category. Actions with
a menu path (menu and popup) use the menu path to sort the actions. All others use
the action's name for sorting.
@param actionGroup the type
@return the comparator to use for sorting actions within their category
Ghidra/Framework/Docking/src/main/java/docking/actions/dialog/ActionsModel.java