Adding comparability option for PredicateSet

We are going to want to sort these, so exposing a sorting method.