public int compareTo(BytesRef other) {return Arrays.compareUnsigned(this.bytes, this.offset, this.offset + this.length,other.bytes, other.offset, other.offset + other.length);}
public int CompareTo(BytesRef other){return utf8SortedAsUnicodeSortOrder.Compare(this, other);}