I have two matrices A and B. They have the same eigenvectors, but different eigenvalues. I would like that after a reordering the eigenvalues of the two matrices correspond to the same order of eigenvectors. For convenience, I attached a .nb file, where I explain better what I need. Thanks in advance for any help!
Attachments: