Added brief comment explaining comparator