Added more documentation about the comparator