libSUFR
a LIBrary of Some Useful Fortran Routines
All Classes Namespaces Files Functions Variables Pages
sorting.f90 File Reference

(libSUFR version 0.7.8, revision 407, hash 01069b8, 2025-03-02)

Procedures to sort arrays. More...

Go to the source code of this file.

Modules

module  sufr_sorting
 Procedures for sorting.
 

Functions/Subroutines

subroutine sufr_sorting::sorted_index_list (array, index_list, mask, index_n)
 Return a list of indices index_list that sorts the members of array to ascending value, using a Quicksort algorithm.
 
subroutine sufr_sorting::sort_array (array)
 Sort an array to ascending value.
 
subroutine sufr_sorting::sort_array_sp (array)
 Sort an array to ascending value - single-precision wrapper for sort_array.
 
subroutine sufr_sorting::sort_string_array (narr, strlen, strarr, index_list)
 Sort strings alphabetically.
 

Detailed Description

Procedures to sort arrays.

Definition in file sorting.f90.