Thank you for your reply.
I mean if sorted=False, then the returned elements should keep their original order in the tensor.
Take the following codes as an example:
>>> import torch
>>> a = torch.tensor([5., 4, 3, 2, 1, 0])
>>> a
tensor([5., 4., 3., 2., 1., 0.])
>>> torch.topk(a, 3, largest=False, sorted=False)
torch.return_types.topk(
values=tensor([0., 1., 2.]), 
indices=tensor([5, 4, 3]))  # since sorted=False, I think the indices should be [3, 4, 5]
>>> torch.topk(a, 3, largest=False, sorted=True)
torch.return_types.topk(
values=tensor([0., 1., 2.]),
indices=tensor([5, 4, 3]))
>>>

When I use sorted=True, the result is correct as expected.