You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Update 30 November 2022
Added validation tests for RadixSort() against MQL's ArraySort().
Update 4 December 2022
Added support for multidimensional numeric array. However, sorting is always applied to the first (zero) dimension.
Update 7 December 2022
Updated the ParallelRadixSort() function to sort two parallel arrays of different types, simultaneously.
The first argument: an array containing the keys.
The second argument: array of the target items to sort (based on the keys).
Example:
Update 9 December 2022
The algorithm falls back to ArraySort() if the array contains less than some threshold of items (currently 128).
Updated validation tests for RadixSort() against MQL's ArraySort().
Update 12 December 2022
Updated validation tests for RadixSort() against MQL's ArraySort().
Updated the ParallelRadixSort() function to sort two parallel arrays of different types, simultaneously.
The first argument: an array containing the keys.
The second argument: array of the target items to sort (based on the keys).
Another usage for the ParallelRadixSort() function is that it could be used to shuffle arrays: