Esorterica

Aggregator page for essays on esoteric sorting algorithms and related side quests

Kevlin Henney
2 min readDec 30, 2024

This is the landing page for my occasional essays on esoteric algorithms — specifically sorting — plus essays that have grown out of them or may otherwise be considered related in (in)sensibility.

The Hepworth Wakefield

A pathology of sorts

Away from the well-trodden execution paths of sorting algorithms like quicksort, merge sort, bubble sort, etc., are some unusual, surprising and educational algorithms.

You can find four of these algorithms plus another featured in a lightning talk of mine.

Factorial!

Permutation sort introduces us to algorithms with factorial escalating cost, which seems like as good an opportunity as any to digress and dig into this well-worn function.

Playing with numbers

All the essays listed above explore different approaches to control flow, decision structures in languages and time in code. A couple more essays explore this theme a little further.

  • Out of Control An essay on paradigms, refactoring, control flow, data, code, dualism and what Roman numerals ever did for us
  • Taking Months to Bits A calendrical journey into low-level programming

--

--

Kevlin Henney
Kevlin Henney

Written by Kevlin Henney

consultant · father · husband · itinerant · programmer · speaker · trainer · writer

No responses yet