Simple implementation of quicksort algorithm to sort the variable list alphabetically.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(CFG_var_t), | intent(inout) | :: | list(:) |
recursive subroutine qsort_config(list) type(CFG_var_t), intent(inout) :: list(:) integer :: split_pos if (size(list) > 1) then call parition_var_list(list, split_pos) call qsort_config( list(:split_pos-1) ) call qsort_config( list(split_pos:) ) end if end subroutine qsort_config