Miracle Sort
The Most Reliably Unreliable Sorting Method
- Create an array
- Check to see if array is sorted
- Wait a while
- Check again to see if array is sorted
- Repeat until array happens to be sorted by a miracle
Code Demonstration
Miracle Sort - The Computer Science Handbook