See inside.
Stanley P. Y. Fung, Is this the simplest (and most surprising) sorting algorithm ever? https://arxiv.org/abs/2110.01111