void collapseTree() {
		GTreeNode root = tree.getViewRoot();
		List<GTreeNode> topLevelNodes = root.getChildren();
		topLevelNodes.forEach(n -> tree.collapseAll(n));
		waitForTree();
	}
A comparator to sort Symbols the same way as the SymbolNode sorts
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/symboltree/SymbolTreeTestUtils.java