Revamping sorting interface and adding support to HermitianEig and its descendants.