Back in University some friends and I had joked about creating a “random” sortation algorithm that could be used in place of other fast, efficient and, well, better solutions like Quick Sort or the like. While cleaning up some files on my computer today I came across this monstrosity and decided what better place to put it than up on my GitHub page. So there you have it, now you too can have a sorting algorithm that may never actually succeed in sorting anything at all! How awesome!
Disclaimer: please don’t actually use this for anything important. It is a truly terrible algorithm!