Operator including attrgetter and itemgetter