The Selectionsort Algorithm
pStart by finding the smallest entry. pSwap the smallest entry with the first entry.
[0]       [1]        [2]       [3]        [4]       [5] 
Once we have found the smallest element, that element is swapped with the first element of the array...