def __lt__(self, other):
        return (other.name, other.index_types) < (self.name, self.index_types)
dataset/ETHPy150Open sympy/sympy/sympy/tensor/tensor.py/TensorHead.__lt__/swapped operands of `<`