Expose comparator in SortedAnnotations.