What�s selection sort?
Selection sort works by, at each step, placing the next smallest value into position:
At each step, the boldfaced value is the one to put in its place next; it gets swapped with the value that�s in the array element where it belongs.