interesting! I like it.
> or appends a "random()" clause to an existing "order by" clause
That one I don't understand. If the Order By is there, why randomise it? I guess
order by p, q, r, random()
then it sort of allows you to find out if it's been ordered sufficiently for your needs - is that it?