@Override
		public int compareTo(@Nonnull ApplicationEntry o) {
			boolean identity = isNameIdentity();
			boolean identityOther = o.isNameIdentity();

			// Entries with new names go first.
			if (identity && !identityOther)
				// Other class got renamed, we want it to go first.
				return 1;
			else if (!identity && identityOther)
				// We got renamed, we want to go first.
				return -1;

			// We want more complex classes to go last.
			int cmp = Integer.compare(complexity(), o.complexity());
			if (cmp != 0) return cmp;

			// Always want a unique ordering, so as a last resort we will compare by name.
			return post().getValue().getName().compareTo(o.post().getValue().getName());
		}
@return Rough level of complexity of the class in terms of how many types it references.
recaf-core/src/main/java/software/coley/recaf/services/mapping/MappingResults.java