@Override
	default int compareTo(Reference that) {
		int result;
		result = this.getFromAddress().compareTo(that.getFromAddress());
		if (result != 0) {
			return result;
		}
		result = Integer.compare(getOperandIndex(), that.getOperandIndex());
		if (result != 0) {
			return result;
		}
		result = this.getToAddress().compareTo(that.getToAddress());
		if (result != 0) {
			return result;
		}
		return 0;
	}
Set the reference type

@param refType the new reference type
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/model/symbol/TraceReference.java