RosettaCodeData/Task/Sort-an-integer-array/Fortran/sort-an-integer-array.f

5 lines
140 B
FortranFixed
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
CALL ISORT@(b, a, n)
! n = number of elements
! a = array to be sorted
! b = array of indices of a. b(1) 'points' to the minimum value etc.