String sorting routines.
Returns true if the list is lexically sorted in increasing order.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(inout), | dimension(:) | :: | str | ||
| logical, | intent(in) | :: | case_sensitive |
if true, the sort is case sensitive |
||
| logical, | intent(in) | :: | natural |
if true, the sort is "natural" |
Sorts a character array str in increasing order.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(inout), | dimension(:) | :: | str |
on entry,the array to be sorted.
on exit, |
|
| logical, | intent(in) | :: | case_sensitive |
if true, the sort is case sensitive |
Sorts a character array str in increasing order.
Uses a basic recursive quicksort
(with insertion sort for partitions with <= 20 elements).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(inout), | dimension(:) | :: | str | ||
| logical, | intent(in) | :: | case_sensitive |
if true, the sort is case sensitive |
Sorts a character array str in increasing order,
using a "natural" sorting method.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(inout), | dimension(:) | :: | str | ||
| logical, | intent(in) | :: | case_sensitive |
if true, the sort is case sensitive |