Selection Sort

Also added proper dispatcher