cats.parse
This order is the same as offset order if the Carets are both from the same input string, but if from different ones will compare by line then by column and finally by offset.
(Since version ) see corresponding Javadoc for more information.