Description
It appears that the SelectivityComparator that is supposed to ensure that
predicates are applied in selectivity order does not follow the interface for STL comparators. Additionally, we aren't properly using tie-breakers to ensure a stable evaluation order.