Selection sort is an in-place sorting technique. It splits the data set into sub-lists known as sorted and unsorted. Then it selects the minimum element from the unsorted sub-list and places it into the sorted list. This iterates unless all the elements from the unsorted sub-list are consumed into a sorted sub-list.