@@ -369,8 +369,9 @@ module stdlib_sorting
369369 module subroutine char_ord_sort( array, work, reverse )
370370!! Version: experimental
371371!!
372- !! `char_ord_sort( array[, work, reverse] )` sorts the input `ARRAY` of type `CHARACTER(*)`
373- !! using a hybrid sort based on the `'Rust" sort` algorithm found in `slice.rs`
372+ !! `char_ord_sort( array[, work, reverse] )` sorts the input `ARRAY` of type
373+ !! `CHARACTER(*)` using a hybrid sort based on the `'Rust" sort` algorithm
374+ !! found in `slice.rs`
374375 character(len=*), intent(inout) :: array(0:)
375376 character(len=len(array)), intent(out), optional :: work(0:)
376377 logical, intent(in), optional :: reverse
@@ -403,8 +404,8 @@ module stdlib_sorting
403404 pure module subroutine char_sort( array, reverse )
404405!! Version: experimental
405406!!
406- !! `char_sort( array[, reverse] )` sorts the input `ARRAY` of type `CHARACTER(*)`
407- !! using a hybrid sort based on the `introsort` of David Musser.
407+ !! `char_sort( array[, reverse] )` sorts the input `ARRAY` of type
408+ !! `CHARACTER(*)` using a hybrid sort based on the `introsort` of David Musser.
408409!! The algorithm is of order O(N Ln(N)) for all inputs.
409410!! Because it relies on `quicksort`, the coefficient of the O(N Ln(N))
410411!! behavior is small for random data compared to other sorting algorithms.
0 commit comments