public static void orderWithinGroup(ParamEntry entry1, ParamEntry entry2)
			throws XmlParseException {
		if (entry2.minsize > entry1.size || entry1.minsize > entry2.size) {
			return;
		}
		if (entry1.type != entry2.type) {
			if (entry1.type == StorageClass.GENERAL) {
				throw new XmlParseException(
					"<pentry> tags with a specific type must come before the general type");
			}
			return;
		}
		throw new XmlParseException(
			"<pentry> tags within a group must be distinguished by size or type");
	}
ParamEntry within a group must be distinguishable by size or by type
@param entry1 is the first being compared
@param entry2 is the second being compared
@throws XmlParseException if the pair is not distinguishable
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/ParamEntry.java