@Override
	public int compareTo(TOCItemReference other) {
		if (other == null) {
			return 1;
		}

		int fileComparison = getSourceFile().compareTo(other.getSourceFile());
		if (fileComparison != 0) {
			return fileComparison;
		}
		return getIDAttribute().compareTo(other.getIDAttribute());
	}
Overridden, as if we get called, then something is in an invalid state, so generate special output
Ghidra/Framework/Help/src/main/java/help/validator/model/TOCItemReference.java