• Provides a comparator for SourceRanges that sorts them in ascending order.

    Parameters

    Returns number

    a positive number if r1 comes after r2, a negative number if r1 comes before r2, and 0 if they are equal