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.
There is a new --seed option. Exit codes are taken from sysexits.h. The randomization algorithm now does what it was intended to do, and the last line isn't ignored if not terminated by a newline.