Provides a comparator for SourceRanges that sorts them in ascending order.
a positive number if r1 comes after r2, a negative number if r1 comes before r2, and 0 if they are equal
r1
r2
0
Provides a comparator for SourceRanges that sorts them in ascending order.