private int index(AccessFlag flag) {
			if (recommendOrder.isEmpty()) return 0; // not initialized yet
			int idx = recommendOrder.indexOf(flag);
			return idx == -1 ? Integer.MAX_VALUE : idx;
		}
Comparator to sort flags by their recommended ordering.
recaf-core/src/main/java/software/coley/recaf/util/AccessFlag.java