private void createActions() {
		sortByAddrAction =
			new ModuleSortAction("Sort Fragments By Address", getName(), SORT_BY_ADDRESS);
		sortByNameAction = new ModuleSortAction("Sort Fragments By Name", getName(), SORT_BY_NAME);

		tool.addAction(sortByAddrAction);
		tool.addAction(sortByNameAction);
	}
Plugin to sort Modules and Fragments within a selected Module.
Child Module folders are always name-sorted and placed
above child Fragments.  When sorting on address, the minimum
address for each fragment is used, while empty fragments are name-sorted
and placed at the bottom.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/module/ModuleSortPlugin.java