compareTo
Compares this buffer to another.
Compares the remaining elements lexicographically.
Return
A negative integer, zero, or a positive integer as this buffer is less than, equal to, or greater than the specified buffer.
Parameters
other
The buffer to compare with.