Correct ordering of eigenvalues and eigenvectors.