integer sorting algorithms

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.

wikipedia:comparison sorting