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.

“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
I'm a UK-based tech writer covering Cool Tech at Digital Trends. I've also written for Fast Company, Wired, the Guardian…
The best portable power stations
EcoFlow DELTA 2 on table at campsite for quick charging.

Affordable and efficient portable power is a necessity these days, keeping our electronic devices operational while on the go. But there are literally dozens of options to choose from, making it abundantly difficult to decide which mobile charging solution is best for you. We've sorted through countless portable power options and came up with six of the best portable power stations to keep your smartphones, tablets, laptops, and other gadgets functioning while living off the grid.
The best overall: Jackery Explorer 1000

Jackery has been a mainstay in the portable power market for several years, and today, the company continues to set the standard. With three AC outlets, two USB-A, and two USB-C plugs, you'll have plenty of options for keeping your gadgets charged.

Read more
CES 2023: HD Hyundai’s Avikus is an A.I. for autonomous boat and marine navigation
Demonstration of NeuBoat level 2 autonomous navigation system at the Fort Lauderdale International Boat Show

This content was produced in partnership with HD Hyundai.
Autonomous vehicle navigation technology is certainly nothing new and has been in the works for the better part of a decade at this point. But one of the most common forms we see and hear about is the type used to control steering in road-based vehicles. That's not the only place where technology can make a huge difference. Autonomous driving systems can offer incredible benefits to boats and marine vehicles, too, which is precisely why HD Hyundai has unveiled its Avikus AI technology -- for marine and watercraft vehicles.

More recently, HD Hyundai participated in the Fort Lauderdale International Boat Show, to demo its NeuBoat level 2 autonomous navigation system for recreational boats. The name mashes together the words "neuron" and "boat" and is quite fitting since the Avikus' A.I. navigation tech is a core component of the solution, it will handle self-recognition, real-time decisions, and controls when on the water. Of course, there are a lot of things happening behind the scenes with HD Hyundai's autonomous navigation solution, which we'll dive into below -- HD Hyundai will also be introducing more about the tech at CES 2023.

Read more
This AI cloned my voice using just three minutes of audio
acapela group voice cloning ad

There's a scene in Mission Impossible 3 that you might recall. In it, our hero Ethan Hunt (Tom Cruise) tackles the movie's villain, holds him at gunpoint, and forces him to read a bizarre series of sentences aloud.

"The pleasure of Busby's company is what I most enjoy," he reluctantly reads. "He put a tack on Miss Yancy's chair, and she called him a horrible boy. At the end of the month, he was flinging two kittens across the width of the room ..."

Read more