Simple bubble sort for small arrays. Different from the sort_and_sum function below as it does not include the summed-up part.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | size |
Dimension of the arrays |
||
| integer, | intent(inout) | :: | col_ind(size) |
Column index of the input and the output sorted array |
||
| real(kind=FP), | intent(inout) | :: | values(size) |
Element value |