void selectNodes(GTreeNode[] nodes) throws Exception {
		final TreePath[] paths = new TreePath[nodes.length];
		for (int i = 0; i < paths.length; i++) {
			paths[i] = nodes[i].getTreePath();
		}
		tree.setSelectionPaths(paths);
		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