Sorting of eigenvalues and import sparse.sparsetools.csr

Added `try`/`catch` statement around the import of `csr` and sorting of the eigenvalues and vectors.