Live simulationPAUSED
What you are exploring
Sorting algorithms differ in how they compare and move elements. Bubble sort repeatedly swaps adjacent out-of-order values, selection sort finds the next minimum, and insertion sort grows a sorted prefix by shifting values.