Fisher–Yates shuffle
Go from the last item to the first; swap each with a random item at or before it. This gives each of the n! orders the same probability — for 10 items that is 3,628,800 orders.
How the randomness works
Every result comes from your browser’s cryptographic random number generator (crypto.getRandomValues), the same source used for encryption keys. To turn random bits into a number in a range without bias, values that would make some outcomes slightly more likely are thrown away and redrawn (rejection sampling). Nothing is sent to a server.