def __lt__(self, other):
        return (other._tensortype, other._name) < (self._tensortype, self._name)
dataset/ETHPy150Open sympy/sympy/sympy/tensor/tensor.py/TensorIndex.__lt__/swapped operands of `<`