#sortingalgorithms#soundofsorting#coding

Sorting Algorithm Visualizer

Sort Spectrum is a browser-based sorting algorithm visualizer that turns 16 classic sorting algorithms into vertical 1080×1920 MP4 videos with pitch-mapped sound. Run a single-algorithm showcase or a head-to-head race of up to four algorithms on the exact same shuffled array, then export a clean vertical video directly from your browser without installing desktop software or screen recording.

  • Free in browser
  • No sign-up to preview
  • 16 sorting algorithms
  • Pitch-mapped sound
  • 1080×1920 MP4 export
Make a Sort Spectrum video

How to make a Sort Spectrum video

  1. 1Open the sorting algorithm visualizer in Studio and choose a preset: Fast four race, Rainbow wheel, Fast vs slow or Spiral spectrum.
  2. 2Pick head-to-head race or one-after-another showcase, choose 1 to 4 algorithms from 16 classic sorts, and set the element count and starting order.
  3. 3Choose one of 6 shapes, a colour palette and a sorting algorithm sound set, then press play to preview the sort visualizer.
  4. 4Adjust the hook text and video length (15, 30, 60 or 90 seconds), then export the vertical MP4 directly on your device.

What you can change

16 sorting algorithms

Pick Quick Sort, Merge Sort, Heap Sort, Shell Sort, Tim Sort, Radix Sort, Comb Sort, Intro Sort, Insertion Sort, Selection Sort, Bubble Sort, Cocktail Shaker, Gnome, Cycle, Pancake or Bitonic Sort. Run quick sort visualization, merge sort visualization, bubble sort visualization or radix sort visualization solo or in a 4-way sorting algorithm race.

6 spectrum shapes

Display array values as spectrum bars, a colour wheel, a rainbow spiral, a scatter plot, a colour ring or sunburst rays across 6 palettes from full rainbow to neon and monochrome.

Array size and start order

Set 32 to 256 elements and choose how the array begins: random shuffle, reversed, nearly sorted, organ pipe or few unique values to highlight best-case and worst-case behaviour.

Pitch-mapped sound

Every swap or write plays a synthesized tone pitched to the value being moved, followed by an ascending rainbow sweep when the array is sorted. Choose synth, soft sine, glass chime, pop blip or silent.

Sort Spectrum settings and defaults

SettingOptionsDefault
ModeHead-to-head race (2–4 sorts) or showcase (1–4 sorts)Head-to-head race
Algorithms16 sorts: Quick, Merge, Heap, Shell, Tim, Radix, Comb, Intro, Insertion, Selection, Bubble, Cocktail, Gnome, Cycle, Pancake, BitonicQuick, Merge, Heap, Shell
ShapeSpectrum bars, colour wheel, rainbow spiral, scatter plot, colour ring, sunburst raysSpectrum bars
Elements32 to 256 (step 32)96
Start orderRandom shuffle, reversed, nearly sorted, organ pipe, few unique valuesRandom shuffle
PaletteRainbow, ocean, sunset, neon, ember, monochromeRainbow
Sound setSynth, soft sine, glass chime, pop blip, silentSynth
Video length15, 30, 60 or 90 s30 s

Video ideas that get comments

  • “Quick Sort vs Merge Sort vs Heap Sort vs Shell Sort: which finishes 96 bars first?”
  • A satisfying sorting visualizer with sound: 128-slice rainbow colour wheel sorted one algorithm at a time
  • “Why Bubble Sort loses on a reversed array” — fast vs slow sorting algorithm animations for study reels

What you get

FormatMP4 (H.264 + AAC)
Size1080×1920, 9:16 vertical
Frame rate60 fps
Length15, 30, 60 or 90 seconds (ends early when someone wins)
SoundBuilt-in hit and pop effects, plus your own licensed music if you add it
RenderingIn your browser, nothing uploaded
Free planUnlimited previews; 1 watermarked export per week

What is a sorting algorithm visualizer?

A sorting algorithm visualizer turns an abstract array of numbers into colour, motion and pitch so you can watch how different algorithms organise data step by step. Each element has a value from 1 to N that sets both its size or position and its hue along a spectrum, so an unsorted array looks like scattered confetti and a finished sort forms a smooth rainbow.

Viewers recognise this format from classic “sound of sorting” clips on YouTube, TikTok and Shorts. Adding audio turns every comparison or swap into a note whose frequency rises with the value, creating the signature glissando as the array locks into place. Most people looking for a visualization of sorting algorithms either want to understand Big-O complexity intuitively or want to publish short, hypnotic clips without writing custom Canvas and Web Audio code.

Traditional desktop tools like ArrayVisualizer and The Sound of Sorting require installing Java or C++ binaries and capturing the window with OBS, while classroom web pages focus on horizontal diagrams with no video export. SimReel brings the sorting visualizer into a vertical 9:16 browser studio built for clean MP4 output.

How the sorting algorithm visualizer works

Every run in this sorting algorithm visualizer starts from a deterministic seed. When you pick an element count (32 to 256) and a starting order—random shuffle, reversed, nearly sorted, organ pipe or few unique values—SimReel generates one exact starting array and feeds the same copy to every selected algorithm.

Under the hood, the sorting algorithm simulator records the authentic swap and write operations performed by each algorithm, then plays them back at a fixed 60 fps cadence scaled to your chosen video length. In a sorting algorithm race, all 2 to 4 panels advance at the same operation rate so the faster algorithm genuinely finishes first, displays a 1ST badge and triggers an ascending verification sweep while the other panels keep racing.

In showcase mode, the sorting algorithm visualizer gives each chosen sort the full vertical stage one after another, showing its name, Big-O label and live operation counter. Every operation maps the touched element’s value to a frequency in the shared synthesizer, so the sorting algorithm sound you hear in preview is identical to the audio track baked into the exported MP4.

Comparing the 16 sorting algorithms

Putting fast and slow methods in the same sorting algorithm visualizer makes algorithmic complexity obvious in seconds. Divide-and-conquer and tree-based methods—quick sort visualization, merge sort visualization, heap sort visualization, Tim Sort, Intro Sort and Shell Sort—cut through 96 or 128 elements in a few hundred operations and finish cleanly in the first wave.

Non-comparison and network methods bring distinct visual patterns. A radix sort visualization groups elements by base-4 digits in neat sweeping passes rather than pairwise swaps, while Bitonic Sort creates symmetric crisscross waves across the bars or spiral. Comb Sort improves on classic bubble passes with shrinking gaps.

Quadratic O(n²) algorithms—insertion sort visualization, selection sort visualization, bubble sort visualization, Cocktail Shaker, Gnome Sort, Cycle Sort and Pancake Sort—take dramatically more steps on random or reversed data, yet tell great visual stories. Try a nearly sorted starting order to watch Insertion Sort fly, or pair Bubble Sort against Quick Sort on a reversed array to show why O(n log n) dominates at scale. If you also want to show why growth rates separate mathematically, try Formula Towers.

Tips for viral sorting algorithm animations

Match the shape to your hook when building sorting algorithm animations. Spectrum bars make speed differences immediately readable in a 4-way race, while the colour wheel, colour ring, rainbow spiral and sunburst rays shine in single-algorithm showcase clips where viewers wait for the final rainbow sweep.

Use starting order to create drama inside the sorting algorithm visualizer. A reversed array punishes naive quadratic sorts and makes a “Fast vs Slow” comparison unmistakable within three seconds; an organ-pipe or few-unique input creates surprising ties and geometric ripples. Keep element count around 64 to 128 for crisp bars on phone screens, or push to 256 for dense colour wheels.

Leave sound enabled—viewers stay longer for a sorting visualizer with sound—and pick synth or glass chime for crisp pitch separation. You can also upload your own licensed background track; the sort visualizer mixes it locally on your device under the synthesized tones. For graph and search territory battles like BFS vs DFS, try the algorithm visualizer, or explore the bouncing ball simulator.

Sort Spectrum FAQ

How do you make sorting algorithm videos with sound?
Open this sorting algorithm visualizer in SimReel Studio, pick a race or showcase preset, choose your algorithms, shape and sound set, and press play. SimReel synthesizes pitch-mapped sorting algorithm sound directly from the array values and exports a ready-to-post vertical MP4 without OBS or coding.
Which sorting algorithms are included in the sort visualizer?
Sort Spectrum includes 16 real sorting algorithms: Quick Sort, Merge Sort, Heap Sort, Shell Sort, Tim Sort, Radix Sort (LSD), Comb Sort, Intro Sort, Insertion Sort, Selection Sort, Bubble Sort, Cocktail Shaker, Gnome Sort, Cycle Sort, Pancake Sort and Bitonic Sort.
Can I race multiple sorting algorithms side by side?
Yes. In Head-to-head race mode, 2 to 4 algorithms start from the exact same seeded array and run at the same operation rate, so the faster algorithm genuinely finishes first and earns the 1ST badge while the others keep sorting.
Is this sorting algorithm visualizer free to use?
Yes. You can customise and preview unlimited runs in the sorting visualizer without creating an account, and export one 480p video per week with a small SimReel badge after signing in. A monthly plan, lifetime pass or export pack unlocks watermark-free 1080×1920 60 fps MP4 exports.
Does the sorting visualizer run in the browser without downloads?
Yes. Everything runs locally in your desktop or mobile browser using HTML5 Canvas and WebCodecs. Your video and any licensed music track you mix in are rendered on your device and never uploaded to a server.
Why can’t I manually pick the winner in Sort Spectrum?
In a sorting algorithm race, the finish order is determined by real algorithmic complexity and the exact operation count on the starting array. Keeping the race authentic means Quick Sort, Merge Sort and Radix Sort beat quadratic sorts just as they do in computer science.
How do I remove the watermark?
Buy an export pack (1 video for $1.99, 3 for $4.99, 10 for $12.99), subscribe monthly ($9.99 for 30 videos a month) or buy Lifetime ($39.90 once, unlimited). Each watermark-free export uses one export.

More games