sort Subroutine

public subroutine sort(array, idx)

Uses

    • stdlib_sorting

Sort an array and return the indexes

Arguments

Type IntentOptional Attributes Name
real(kind=pr), intent(inout) :: array(:)
integer, intent(out), optional :: idx(:)