## Sorting Eigenvalues and Eigenvectors

Function: int gsl_eigen_symmv_sort (gsl_vector * eval, gsl_matrix * evec, gsl_eigen_sort_t sort_type)
  This function simultaneously sorts the eigenvalues stored in the vector eval and the corresponding real eigenvectors stored in the columns of the matrix evec into ascending or descending order according to the value of the parameter sort_type,
  `GSL_EIGEN_SORT_VAL_ASC`
    ascending order in numerical value
  `GSL_EIGEN_SORT_VAL_DESC`
    descending order in numerical value
  `GSL_EIGEN_SORT_ABS_ASC`
    ascending order in magnitude
  `GSL_EIGEN_SORT_ABS_DESC`
    descending order in magnitude

Function: int gsl_eigen_hermv_sort (gsl_vector * eval, gsl_matrix_complex * evec, gsl_eigen_sort_t sort_type)
  This function simultaneously sorts the eigenvalues stored in the vector eval and the corresponding complex eigenvectors stored in the columns of the matrix evec into ascending or descending order according to the value of the parameter sort_type as shown above.