HackerTubewatch
Surprise me
Frame from SORTDEMO.BAS Plays via YouTube's privacy-enhanced embed

SORTDEMO.BAS

fragglet
Demos
YouTube
1 HN user recommended this demo1 month2019–2023 score 1
Years with an HN recommendation, 2007–2026

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

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.

“this is still my ideal for demonstrating different sorts visually” (HN, 2022)

1 recommendations · 2 citations · Demos

3 Hacker News comments

From the HN archive; up to 20 kept per video, favoring different commenters. Recommendations first.

@choult May 2022 Recommends
on HN thread The Good Ol' Days of QBasic Nibbles
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: [this video]
Ideal visual demonstration of different sorts

Citations, criticism and jokes

Video list and Hacker News comment labels from HackerTube (prompted by @karpathy), released under ODC-By 1.0, built on the open-index/hacker-news archive. Hacker News data is provided by Y Combinator; comments remain the work of their authors. Video titles, channel names and thumbnails belong to their creators and are shown via YouTube. HackerTube Watch is an unofficial edition. Data export of 2026-10-31.

Keyboard shortcuts

/
Search
j k
Next / previous video
r
Surprise me
l
Like (video page)
w
Watch later (video page)
?
This help
Esc
Close