Skip to main content
  1. Home
  2. Emerging Tech
  3. Computing
  4. News

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

Add as a preferred source on Google

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
I'm a UK-based tech writer covering Cool Tech at Digital Trends. I've also written for Fast Company, Wired, the Guardian…
Google Flow Music Spaces is becoming an all-in-one AI music studio
The latest update brings song editing, stem splitting, image generation, lyrics, and video creation into a single workspace.
Google Flow Music Featured

The company has announced a major update for Flow Music Spaces, bringing a suite of new AI-powered creative tools directly into collaborative workspaces. Instead of jumping between different apps or sessions, users can now generate and edit songs, split audio stems, create images, write lyrics, and even generate videos without leaving a Space.

What's new in Flow Music Spaces?

Read more
A Florida pastor asked ChatGPT if he was okay. It nearly got him killed.
When "just relax and recover" turns out to be the worst medical advice you could get.
ChatGPT on iPhone

Scott Winters, a pastor from Florida, is suing OpenAI after ChatGPT allegedly gave him what his lawsuit calls "extremely dangerous" medical advice, advice that nearly cost him his life.

What happened to the pastor?

Read more
Scientists made robots curious like toddlers, and it helped them learn language twice as fast
Give a robot curiosity, and it starts learning language (and misbehaving) just like a toddler.
robots and kids photo

Scientists have been trying to figure out how kids pick up language so fast for decades, and a new study out of the Okinawa Institute of Science and Technology (OIST) might have cracked part of the puzzle: curiosity.

Researchers built a virtual robot with a brain-inspired neural network and set it loose in a simulated 3D world full of shapes, colors, and simple commands like "push left magenta dumbbell." 

Read more