return index1 != index2 ? (index1 < index2 ? -1 : 1) : 0;
if((index1 != Integer.MAX_VALUE) && (index2 != Integer.MAX_VALUE)) {  return index1 != index2 ? (index1 < index2 ? -1 : 1) : 0; }else { return -1; }
        public int compare(Object o1, Object o2) {            Integer tag1 = (Integer) o1;            Integer tag2 = (Integer) o2;            int index1 = indexOf(tag1.intValue(), fieldOrder);            int index2 = indexOf(tag2.intValue(), fieldOrder);            return index1 != index2 ? (index1 < index2 ? -1 : 1) : 0;        }