SortWise

Bubble Sort

A simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order.

Visualization

Watch Bubble Sort in action.

Step: 0 / 0
Comparisons: 0Swaps: 0

Current Step Details

Generating steps...

Comparing
Swapping
Pivot Element
Sorted Element
Sub-array Boundary
Special (e.g., Min/Key)

Controls

Customize Array