@@ -201,13 +201,13 @@ low, being of order O(Ln(N)), while the memory requirements of
201201#### The ` RADIX_SORT ` subroutine
202202
203203` RADIX_SORT ` is a implementation of LSD [ radix sort] ( https://en.wikipedia.org/wiki/Radix_sort ) ,
204- using ` 256 ` (one byte) as the radix. It only works for fixed width data,
204+ using ` 256 ` as the radix. It only works for fixed width data,
205205thus integers and reals. ` RADIX_SORT ` is always of O(N) runtime performance
206206for any input data. For large and random data, it is about five (or more)
207207times faster than other sort subroutines.
208208
209209The ` RADIX_SORT ` needs a buffer that have same size of the input data.
210- Your can provide it using ` work ` arguement , if not the subroutine will
210+ Your can provide it using ` work ` argument , if not the subroutine will
211211allocate the buffer and deallocate before return.
212212
213213### Specifications of the ` stdlib_sorting ` procedures
@@ -362,17 +362,17 @@ input elements will be sorted in order of non-decreasing value.
362362array, and shall have at least ` size(array) ` elements. It is an
363363` intent(inout) ` argument, and its contents on return are undefined.
364364
365- ` reverse ` (optional): shall be a scalar of type default logical. It
365+ ` reverse ` (optional): shall be a scalar of type default ` logical ` . It
366366is an ` intent(in) ` argument. If present with a value of ` .true. ` then
367367` array ` will be sorted in order of non-increasing values in unstable
368368order. Otherwise index will sort ` array ` in order of non-decreasing
369369values in unstable order.
370370
371371##### Notes
372372
373- ` SORT ` implements a LSD radix sort algorithm with a ` 256 ` radix. For any
373+ ` radix_sort ` implements a LSD radix sort algorithm with a ` 256 ` radix. For any
374374input data it provides ` O(N) ` run time performance. If ` array ` is of
375- any type ` REAL ` the order of its elements on return undefined if any
375+ any type ` real ` the order of its elements on return undefined if any
376376element of ` array ` is a ` NaN ` .
377377
378378##### Example
0 commit comments