New Comparator API. Null-safety, order by value resolved from Fn, and prioritized by Predicate.