Requested feature overview description.
To make random order, more like a shuffle. Currently random order does not work when multiple pages are returned since it will reorder them every time it's queried.
My suggestion is that every day (like an SQL event) each post is assigned a random number called 'order' for example, and then the table is indexed by this. When someone adds "order:shuffle" to their search query, it will run the query as normal, but then sort it by the before mentioned 'order' column.
Why would it be useful?
This would fast shuffling of many user queries that may return many values, with little CPU cost, it would also allow users to use pagination on shuffle queries and not ever see duplicates or missing values.
What part(s) of the site page(s) are affected?
Posts and any page that allows sorting
Misc notes
Creating the index would be near linear with respect to posts,, and it would only have to be done once a day (or whatever), and I imagine this query could be done 'in the background' or something.
There may exist better ways to do this, but this one is decent.
Also, the pagination would stuff up, if you were doing this at the time of day when the new 'order' was put in, but meh.
Updated by KiraNoot