Si ottiene
89,93,75,36,56,78,67,23,59,51 // A[10] iniziale
89,93,75,36,56,78,67,23,59,51 // l'elemento pił piccolo tra A[0] e A[9]
23,93,75,36,56,78,67,89,59,51 // lo si mette in A[0]
23,93,75,36,56,78,67,89,59,51 // si cerca tra A[1] e A[9]
23,36,75,93,56,78,67,89,59,51 // si cerca tra A[2] e A[9]
23,36,51,93,56,78,67,89,59,75
23,36,51,56,93,78,67,89,59,75
23,36,51,56,59,78,67,89,93,75
23,36,51,56,59,67,78,89,93,75
23,36,51,56,59,67,75,78,93,89
23,36,51,56,59,67,75,78,93,89
23,36,51,56,59,67,75,78,89,93