public final int compareTo(Term other) {if (field.equals(other.field)) {return bytes.compareTo(other.bytes);} else {return field.compareTo(other.field);}}
public int CompareTo(Term other){int compare = Field.CompareToOrdinal(other.Field);if (compare == 0){return Bytes.CompareTo(other.Bytes);}else{return compare;}}