User:CybrZero/sandbox

In computer science, miracleSort is a highly ineffective sorting function based on the generate and test paradigm. The method revolves around waiting for alpha particles to flip bits in the computer's memory until eventually the list is sorted.

Pseudo code: Start with an array in memory. loop: Check to see whether it's sorted. Yes? We're done. No? Wait a while and check again. end loop

It is extremely inefficient and could never be reliably used for reasonably large lists