Selection-sort with GIPSY folk-dance
a[0]
a[1]
a[2]
a[3]
a[4]
a[5]
a[6]
a[7]
a[8]
a[9]
2
0
9
3
4
8
1
6
5
7
Choose the next pair of elements to be processed by clicking them!
Show/hide numbers
Black box White box
 
 
Orchestrate sorting
Compare
 
Swap
 
 
Click to view actual step
Help (suggestion)
 
 
Feel free to try again
Restart / refresh