int compareOverlay(OverlayAddressSpace overlay) {
		if (overlay == this) {
			return 0;
		}
		int rc = baseSpace.compareTo(overlay.baseSpace);
		if (rc != 0) {
			return rc;
		}
		int c = getType() - overlay.getType();
		if (c == 0) {
			c = orderedKey.compareTo(overlay.orderedKey);
		}
		return c;
	}
Compare this overlay to the spacified overlay.
@param overlay other overlay to be checked for eqauality
@return see {@link Comparable#compareTo(Object)}
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/OverlayAddressSpace.java