private void allowSwingThreadToPaintBetweenLongLocking() {
		try {
			// In crude testing it seems that just sleeping for the smallest amount of time is
			// enough for the Swing thread to get the lock we usually dominate.  The result is
			// a bit jumpy, but that is better than no painting at all.
			Thread.sleep(100);
		}
		catch (InterruptedException e) {
			// don't care; we tried
		}
	}
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