Commit Selection Sort