Skip to main content

Trust us, this video of 15 different sorting algorithms is way more entertaining than it sounds

15 Sorting Algorithms in 6 Minutes
A video showing sorting algorithms in action may not sound like the most riveting concept in the world — but, then again, neither does watching other people play video games or unboxing gadgets you don’t own, and that hasn’t stopped their popularity online.

In fact, “15 Sorting Algorithms in 6 Minutes” — created by Timo Bingmann, a PhD student at the Karlsruhe Institute of Technology — is one of the most weirdly hypnotic viewing experiences you’ll find; with something almost trance-inducing about watching the algorithms work their organizing magic on a variety of data sets.

Recommended Videos

“Efficiency of algorithms is of great importance in the era of Big Data,” Peter Flach, author of Machine Learning: The Art and Science of Algorithms That Make Sense of Data, tells Digital Trends.

Sorting algorithms are an important part of undergraduate computer courses, used to teach theoretical computer science and algorithm analysis. The algorithms on display in this video include selection sort, insertion sort, quick sort, merge sort, heap sort, radix sort (LSD), radix sort (MSD), std::sort (intro sort), std::stable_sort (adaptive merge sort), shell sort, bubble sort, cocktail shaker sort, gnome sort, bitonic sort and bogo sort.

“Computer scientists use sorting algorithms as an example in computational complexity theory, which offers an abstract notion of algorithmic scalability,” Flach continues. “The computational complexity of sorting algorithms is by now well-understood, but videos like this one are great tools to bring the topic alive for students.”

It’s not just students who find them interesting, however.

“[The videos I’ve created] plainly present sorting algorithms which are actually a boring part of basic computer science courses,” creator Timo Bingman tells Digital Trends. “But with the moving visuals and fun audio the videos deliver a rare insight into how algorithms and computers in general work. Their captivating non-verbal message of how to systematically create order from chaos in so many sophisticated and different ways seems to have a universal appeal.”

We couldn’t have said it any better ourselves!

Luke Dormehl
Former Digital Trends Contributor
I'm a UK-based tech writer covering Cool Tech at Digital Trends. I've also written for Fast Company, Wired, the Guardian…
Self-driving vehicle rules set to loosen under Trump, report says
self driving looser rules trump screenshot 2024 10 at 54 56 pm 6708947b14810

Tesla “has been very clear the future is autonomous,” CEO Elon Musk said in October, shortly after unveiling the Cybercab, Tesla’s self-driving robotaxi.

It now seems that Musk, who was recently nominated to lead a newly-created "Department of Government Efficiency," is sharing his crystal ball with the incoming Trump administration.

Read more
Honda doubles down on ‘holy grail’ of EV batteries
honda solid state battery production first electric suv 3

While some automakers are scaling back their production of electric vehicles, Honda is basking in the glow of a successful launch of its Prologue EV in the U.S., and was recently dubbed “North America’s most committed automaker.”

And now, Japan’s third-largest automaker is showing a similar commitment to making EVs more efficient and affordable, zeroing in on the production of its own in-house solid-state batteries, also known as the ‘holy grail’ of EV batteries.

Read more
Hyundai’s brand new Ioniq 9 EV features backseat lounge
hyundai ioniq 9 lounge 4 single image desktop

After months of teasing details about the Ioniq 9, Hyundai’s much-anticipated, three-row electric SUV, the company finally unveiled it at the Los Angeles Auto Show.

One of the Ioniq 9’s promised features -- that the SUV had the ability to offer a lounge-like interior – had most of us wondering what exactly that might mean.

Read more