literally everything in the universe is random so if you try anything and it doesnt work, keep trying it over and over and statistically it will work at least one time
@jk use the quantum bogosort principle http://wiki.c2.com/?QuantumBogoSort