
Sorting Visualizer
Watch sorting algorithms in action. Compare bubble, merge, quick sort and more side by side.
Created by MauritzOrlinski
Create a free account to get instant access
How to Use
This tool helps you learn how sorting algorithms work by showing a visual animation of the sorting process. **Getting Started:** 1. Enter a number in the input field to set how many items to sort 2. Click "Sort" to start the visualization 3. Watch the black canvas as bars animate to show the sorting process **Controls:** • Use the dropdown menu to select different sorting algorithms (Bubble, Insertion, or Selection sort) • Enter a speed value to control animation timing between steps • Click "Update Settings" to apply your changes **What You'll See:** • Animated bars on the canvas representing data being sorted • Real-time statistics showing comparisons, swaps, time taken, and array size • The sorting algorithm name and completion status **How It Works:** The visualization generates random data and animates each step of the selected sorting algorithm. You can compare different algorithms by changing the selection and observing how they perform differently in speed and number of operations.