c
c Routine directly callable from C/C++ (it could be necessary to
c append an underscore, "_", to its name depending on the C/C++
c compiler used).
c
c
subroutine subsort(n, stringarray, c1, c2, isort)
c
c Sorting (in ascendig order) a given array of strings.
c
c Written by: S. J. Sciutto, La Plata 1999.
c
c
c Arguments:
c =========
c
c n............... (input, integer) The number of elements to sort.
c stringarray..... (input, character*(*), array(n)) The elements
c to sort.
c c1, c2.......... (input, integer) Respectively the first and last
c columns of the string array to use for sorting.
c isort........... (input-output, integer, array(n)) The array of
c indices. As input it must contain a set of
c indices pointing to the elements of stringarray
c that must be sorted. As output, the strings
c stringarray(isort(i)), i = 1,...,n, give the
c sorted sequence of elements.
c
c
c<--->
|
These pages are maintained by Sergio J. Sciutto |
Back to AIRES library index |
| Back to AIRES home |