<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_comments_for_commentor_and_reference(self, resource_id, reference_id):
 """Gets a list of comments corresponding to a resource and reference ``Id``. arg: resource_id (osid.id.Id):
 the ``Id`` of the resource arg: reference_id (osid.id.Id):
 the ``Id`` of the reference return: (osid.commenting.CommentList) - the returned ``CommentList`` raise: NullArgument - ``resource_id`` or ``reference_id`` is ``null`` raise: OperationFailed - unable to complete request raise: PermissionDenied - authorization failure *compliance: mandatory -- This method must be implemented.* """

        # Implemented from template for
        # osid.relationship.RelationshipLookupSession.get_relationships_for_peers
        # NOTE: This implementation currently ignores plenary and effective views
        collection = JSONClientValidated('commenting',
                                         collection='Comment',
                                         runtime=self._runtime)
        result = collection.find(
            dict({'referenceId': str(resource_id),
                  'commentorId': str(reference_id)},
                 **self._view_filter())).sort('_id', ASCENDING)
        return objects.CommentList(result, runtime=self._runtime)