bogosort sorts files or its standard input using the "bogo-sort" algorithm. It can also just randomise the lines in its input, allowing you to perform your own check in a loop.
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.