Added comparator documentation