RosettaCodeData/Task/Sort-an-integer-array/Fortran/sort-an-integer-array.f
Ingy döt Net 68f8f3e56b all tasks
2013-04-11 01:07:29 -07: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.