explicitly specified the comparator parameter for the policy class