public static int compareCandidateEntries(Entry<JitTypeBehavior, Integer> ent1,
				Entry<JitTypeBehavior, Integer> ent2) {
			int c;
			c = Integer.compare(ent1.getValue(), ent2.getValue());
			if (c != 0) {
				return c;
			}
			c = JitTypeBehavior.compare(ent1.getKey(), ent2.getKey());
			if (c != 0) {
				return -c; // INT is preferred to FLOAT
			}
			return 0;
		}
Compare the votes between two candidates, and select the winner

<p>
The {@link #winner()} method seeks the "max" candidate, so the vote counts are compared
in the usual fashion. We need to invert the comparison of the types, though.
{@link JitTypeBehavior#INTEGER} has a lower ordinal than {@link JitTypeBehavior#FLOAT},
but we want to ensure int is preferred, so we reverse that comparison.

@param ent1 the first candidate-vote entry
@param ent2 the second candidate-vote entry
@return -1 if the <em>second</em> wins, 1 if the <em>first</em> wins. 0 should never
        result, unless we're comparing a candidate with itself.
Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/emu/jit/analysis/JitTypeModel.java