bubblesort Subroutine

private subroutine bubblesort(n, xin, iout)

Sorting of an array making use of the bubble sort approach

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: n
real(kind=dp), intent(in), dimension(n) :: xin
integer, intent(out), dimension(n) :: iout