by Daniel Miller
Optimizing Inefficiency: Human folly and the quest for the worst sorting algorithm
Lookup Bogosort, Slowsort, or Stooge sort on Wikipedia sometime and prepare to enter a deep rabbit hole which leads to the strange world of “perversely awful” sorting algorithms.
These three relatively tame algorithms, used primarily for illustrative purposes in computer science classes, are only the beginning. A strange…