compare To
Compares this text block to another for ordering. Text blocks are compared first by page index, then by their start position in the text range. If both are equal, the comparison is based on their visual position (top-to-bottom, then left-to-right).
Return
A negative integer if this text block comes before the other, a positive integer if it comes after, or zero if they are at the same position.
Parameters
another
The text block to compare against.