Filter sObject collections based on declarative criteria.