bogosort
noun
- An intentionally poor sorting algorithm that operates by randomly permuting the elements repeatedly until they happen to fall into the correct order.
Origin
From bogus and sort.
See also spontaneous order spaghetti sort skip list lazy evaluation
Adapted from Wiktionary (CC BY-SA 4.0).