def sort(self, *args, **kwargs):
    # Continue to support the old sort_function keyword argument.
    # This is expected to be a rare occurrence, so use LBYL to avoid
    # the overhead of actually catching KeyError.
    if kwargs in 'sort_function':
      kwargs['cmp'] = kwargs.pop('sort_function')
    self._values.sort(*args, **kwargs)
dataset/ETHPy150Open katharosada/botchallenge/client/google/protobuf/internal/containers.py/BaseContainer.sort/swapped operands of `in`