Hello, Thank you for the response.

Clearly, docs say that if one specifies dim then whether sorted=True or sorted=False the tensor will be sorted even though default values is None . And I think because of that, even though the default value of sorted=False it stills sorts the tensor.

But I haven’t declared the dim and the default value of dim is None, and I am working on cpu. So, I don’t understand this behavior.