My sorting
There is a lot of algorithm of sorting.
See please https://en.wikipedia.org/wiki/Sorting_algorithm
What name has this Mathcad algorithm?
See please the Mathcad-sheet in attach and animation below

There is a lot of algorithm of sorting.
See please https://en.wikipedia.org/wiki/Sorting_algorithm
What name has this Mathcad algorithm?
See please the Mathcad-sheet in attach and animation below

Valery,
I think it complies with the description of 'Selection sort' (https://en.wikipedia.org/wiki/Selection_sort), but with the additional property that your sorting algorithm takes up twice as much memory....
Where selection sort is usually done 'in-place' you set the sorted items aside in an additional part of memory.
Luc
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.