@Override
		public int compare(ToolBarItemManager t1, ToolBarItemManager t2) {
			DockingActionIf action1 = t1.getAction();
			DockingActionIf action2 = t2.getAction();
			ToolBarData toolBarData1 = action1.getToolBarData();
			ToolBarData toolBarData2 = action2.getToolBarData();
			String subGroup1 = toolBarData1.getToolBarSubGroup();
			String subGroup2 = toolBarData2.getToolBarSubGroup();

			int result = subGroup1.compareTo(subGroup2);
			if (result != 0) {
				return result;
			}

			// when the group is the same, sort by the owner (this results in 
			// insertion-based sorting for actions that come from the same owner)
			String name1 = action1.getOwner();
			String name2 = action2.getOwner();
			return name1.compareTo(name2);
		}
Removes the action from the toolbar.
@param action the action to be removed.
Ghidra/Framework/Docking/src/main/java/docking/menu/ToolBarManager.java