sort Subroutine

public subroutine sort(array, idx)

Uses

    • stdlib_sorting
  • proc~~sort~~UsesGraph proc~sort sort stdlib_sorting stdlib_sorting proc~sort->stdlib_sorting

sort

Sort a real array in ascending order in place.

Description

Delegates the sorting operation to stdlib_sorting. The optional idx argument is present in the interface but is not currently populated.

Examples

call sort(values)

Arguments

Type IntentOptional Attributes Name
real(kind=pr), intent(inout) :: array(:)

Values to sort; overwritten in ascending order.

integer, intent(out), optional :: idx(:)

Reserved optional index output; currently unchanged.


Calls

proc~~sort~~CallsGraph proc~sort sort std std proc~sort->std

Called by

proc~~sort~~CalledByGraph proc~sort sort proc~cubic_roots cubic_roots proc~cubic_roots->proc~sort proc~cubic_roots_rosendo cubic_roots_rosendo proc~cubic_roots_rosendo->proc~sort