Compare two rows to determine which should be first.
< 0 if row1 should be before row2, 0 if they are equal and > 0 otherwise
3.10
Compare two rows to determine which should be first.