@Override
		public int compare(Object o1, Object o2) {
			if (o1 instanceof Integer) {
				return -compare(o2, o1);
			}
			DataTypeComponent dtc = (DataTypeComponent) o1;
			int ordinal = ((Integer) o2).intValue();
			return dtc.getOrdinal() - ordinal;
		}
<code>OrdinalComparator</code> provides ability to compare an Integer ordinal with a
DataTypeComponent object. The ordinal will be consider equal (0) if the component corresponds
to the specified ordinal.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/CompositeInternal.java