def __eq__(self, other):
    return (isinstance(other, ArraySort) and (other.a == self.a) and (other.ascending == self.ascending) and (other.on_key == self.on_key))
def __eq__(self, other):
    return (isinstance(other, ArraySort) and (other.a == self.a) and (other.ascending == self.ascending) and (other.on_key == self.on_key))