O

Sorting Visualizer

See Algorithms in Action

A free iOS app that brings sorting algorithms to life with real-time animation and audio feedback. Watch 12 algorithms sort, compare, and swap, step by step.

Download on the App Store

Learn by Watching

See how different sorting algorithms approach the same problem, with visual and audio feedback at every step.

12

12 Sorting Algorithms

From Bubble Sort to Bogo Sort. Compare how each algorithm tackles the problem differently.

Real-Time Animation

Color-coded bars show comparisons, swaps, and sorted elements as they happen.

Audio Feedback

Hear the sort. Pitch corresponds to value, so you can listen to the algorithm work.

Adjustable Controls

Change array size (10-100), animation speed (1x-20x), and data distribution on the fly.

Compare Efficiency

See how O(n log n) algorithms outperform O(n²) ones as array sizes grow.

Completely Free

No ads, no subscriptions, no in-app purchases. Just a learning tool, free and open source.

Algorithms Included

Twelve algorithms spanning comparison sorts, divide-and-conquer, distribution sorts, and one famously terrible one.

Bubble Sort O(n²)
Selection Sort O(n²)
Insertion Sort O(n²)
Shell Sort O(n(log n)²)
Quick Sort O(n log n)
Merge Sort O(n log n)
Heap Sort O(n log n)
Time Sort O(n log n)
Cube Sort O(n log n)
Radix Sort O(nk)
Bucket Sort O(n+k)
Bogo Sort O(n!)

Inspired By

This app was inspired by Timo Bingmann's The Sound of Sorting, a program that visualizes sorting algorithms and generates sound effects to make them audible.

Watch Sorting Come Alive

Free on the App Store. No account needed, no strings attached.

Download on the App Store