3 ms·
Bogobogosort (http://www.dangermouse.net/esoteric/bogobogosort.html http://www.dangermouse.net/esoteric/bogobogosort.html) would be a good candidate except that
by skimbrel 15y ago
Bogobogosort (http://www.dangermouse.net/esoteric/bogobogosort.html http://www.dangermouse.net/esoteric/bogobogosort.html) would be a good candidate except that it uses random permutation and therefore might not terminate. Maybe if you replaced the random step with a deterministic one that always yielded a not-yet-seen permutation...