RosettaCodeData/Task/Sort-an-integer-array/Fortran/sort-an-integer-array.f
2023-07-01 13:44:08 -04:00

4 lines
140 B
Fortran

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.