This question is strictly for learning. I doubt I will need to use it since sort() and sorted() exists, but I would like to learn the algorithm/approach used in here.
We