Bubble-sort with HUNGARIAN ("Gyimesi csángó") folk-dance
a[0]
a[1]
a[2]
a[3]
a[4]
a[5]
a[6]
a[7]
a[8]
a[9]
5
6
0
4
1
7
8
2
3
9
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