analysis/
mg_sort.pro
An alternative to IDL's SORT function that employs a
radix-sort algorithm. This
algorithm is stable but slower than the
quicksort algorithm used in IDL's
SORT
function.
Author information
- History
Derived from code by Atle Borsholm, VIS, 2012
Routines
result = mg_sort_strings(data)
Handle special case of sorting string arrays.
result = mg_sort(data [, radix=int])
Radix sort input data.
Routine details
File attributes
Modification date: | Fri Apr 27 14:10:10 2012 |
Lines: | 114 |
Docformat: | rst rst |
Contact me if you have enhancement requests or bug fixes.