Having computed eigenvectors and eigenvalues of a matrix with pytorch,
w, lamb = torch.eig(matrix,eigenvectors=True)
Is there a function to sort the eigenvectors in the decreasing order of the eigenvalues?