@Override
    public int compareTo(GlobalId other) {
        for (int i=0 ; i<LENGTH; i++) {
            int thisByte = 0xF & (int) raw[i];
            int otherByte = 0xF & (int) other.raw[i];

            if (thisByte < otherByte) {
                return -1;
            } else if (thisByte > otherByte) {
                return 1;
            }
        }
        return 0;
    }
Returns the raw byte array that constitutes this global id.
The returned value MUST NOT be modified.
document/src/main/java/com/yahoo/document/GlobalId.java