Add comparator documentation to README