In SQL dialects you can sort by random and you can pass a seed to the random function in order to get a repeatable random order of rows.
In MySQL you\'d do it like th