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…
Hertz is selling used Teslas for under $20K, Chevrolet Bolt EVs under $14K
2018 Chevrolet Bolt EV

Tesla CEO Elon Musk recently nixed hopes of a regular Tesla model ever selling for $25,000.

But he was talking about new models. For car rental company Hertz, the race to sell used Teslas and other EVs at ever-lower prices is not only still on but accelerating.

Read more
Never mind slowing sales, 57% of drivers will likely have an EV in 10 years

Sales of electric vehicles (EVs) have slowed globally over the past few years. But should EV makers cater more to the mainstream, it’s likely that 57% of drivers will have an EV in 10 years, consulting firm Accenture says.

Last year, nearly 14 million EVs were sold globally, representing a 35% year-on-year increase. But it was much slower than the 55% sales growth recorded in 2022 and the 121% growth in 2021.

Read more
Trade group says EV tax incentive helps U.S. industry compete versus China
ev group support tax incentive 201 seer credit eligibility

The Zero Emission Transportation Association (ZETA), a trade group with members including the likes of Tesla, Waymo, Rivian, and Uber, is coming out in support of tax incentives for both the production and sale of electric vehicles (EVs).

Domestic manufacturers of EVs and their components, such as batteries, have received tax incentives that have driven job opportunities in states like Ohio, Kentucky, Michigan, and Georgia, the group says.

Read more