Selection Sort.
원 버전은 차례대로 Value를 Compare하여 Swap하나,
간단한 버전으로 구현하려면 Cell 하나를 지정한 다음 Swap하는
방법으로 구현하면 된다.
The algorithm works as follows:
- Find the minimum value in the list
- Swap it with the value in the first position
- Repeat the steps above for the remainder of the list (starting at the second position and advancing each time)
by. Wikipedia