Miracle Sort

The Most Reliably Unreliable Sorting Method
  1. Create an array
  2. Check to see if array is sorted
  3. Wait a while
  4. Check again to see if array is sorted
  5. Repeat until array happens to be sorted by a miracle

Code Demonstration

Code demonstration of miracle sort

Miracle Sort - The Computer Science Handbook