Thu Dec 19 18:39:06 2019
Sometimes something is donated but on receipt, it appears not to work. In this example, it was a bedside radio. The manual may not be present and the item may be too old to find on the internet. So the dismantling process is started. The item may be composed of many sub-modules and some of them may be identifiable electronic sub-units such as keypads, rotary controls for volume, motors (DC or stepper) and so on.
wikipedia:integer sorting
I was specifically interested in 'selection sort' as an example of teaching different methods of achieving the same result. Compare this with a bubble sort type of operation where each successive pair is tested and the largest value is (re)placed on the right-hand-side (RHS).
Example input was 9,4,7,2,5.