Sort gen eig

What is the purpose of wrapping this again? I think a better solution is to test that the eigenvalues from the version from base are actually sorted when you use the sorting function.