After a bit of down time for personal reasons, here is the fourth post in the series on sorting algorithms. This time round we’re taking a good look at the Gnome Sort.
People often do a double-take when hearing the term “Gnome Sort” because it’s not that common. The Gnome Sort is extremely simple, and is [...]
You are at the archive for the Sorting category
Sorting Algorithms: The Comb Sort
Welcome to this, the third post in the series on sorting algorithms. Next up, we’re going to cover the Comb Sort.
Like the Cocktail Sort, the Comb Sort isn’t particularly well known. Most people manage to make their way through tertiary studies without ever hearing of it. This post is designed to change that!
The Comb Sort [...]
Sorting Algorithms: The Cocktail Sort
Welcome to the second post in my series on sorting algorithms. This time we’re going to talk about a sort that most people haven’t heard a great deal about: the Cocktail Sort.
This algorithm was the next logical choice in the series because it is very similar to the Bubble Sort in the way that it [...]
Sorting Algorithms: The Bubble Sort
This is the first of many posts covering the fascinating topic of sorting.
I chose the Bubble Sort algorithm as the first to cover because of its simplicity. This algorithm tends to be the first sorting algorithm that is taught to students, and hence is a rather apt starting point.
Let’s break it down.
Sorting Things Out
It’s time to recap a topic that is, or should be, close to the heart of every developer. A topic that is often overlooked or glossed over, rarely fully understood and not often discussed. Yet this topic is hugely important.
That topic is Sorting.










