HackerTube.dev

SORTDEMO.BAS

fragglet · 10.5K views · 2010-07-19 · 2:50

Open on YouTube ↗

If playback is restricted in your region, try opening the original video. Use Mark watched to add it to your marked videos.

Overview

A three-minute capture of SORTDEMO.BAS, the sorting visualization that shipped with QBasic. It animates insertion, bubble, heap, exchange, shell and quick sort with chiptune-like sound.

On Hacker News

HN fondly recalls it as the ideal visual demonstration of sorting algorithms and as the thing that got some people into programming.

Recommended by 1 HN people across 1 months · HN mentions 2019–2023

Topics

Search by tags

What people said

choult · 2022-05 · Recommendation

Q(uick)Basic was my first programming language, and as others mentioned NIBBLES and GORILLAS.BAS were bundled with it. It also had the ability to compile down to an executable, which was fantastic. One bundled script I don't see mentioned yet was SORTDEMO.BAS - this is still my ideal for demonstrating different sorts visually: [VIDEO]

Read the original HN comment ↗
LVB · 2023-01 · Reference

Watching SORTDEMO.BAS at the formative age of ~11 baited me into programming. I recall messing around trying to make even faster versions. [VIDEO]

Read the original HN comment ↗
agf · 2019-02 · Reference

I discovered sorting algorithms (including bubblesort) from SORTDEMO.BAS -- [VIDEO] -- which came with QBasic.

Read the original HN comment ↗

Sources

Video by fragglet, played through YouTube.

Data and selection notes

HN summaries and labels may contain AI errors. HN dates refer to discussions, not video publication.

HN Library: HackerTube export (2026-10-31) and open-index/hacker-news. Upstream summaries and classifications may contain AI errors.

Views, duration and playback status refresh separately from the published catalog. When an update fails, existing data remains visible.

Selection checks
  • SaaS & AI candidates: Topic keywords do not match
  • Editor-approved picks: Editorial review is required

Rule matches identify candidates. They do not guarantee video quality or financial results.

About the library and its sources