Shuffling
Shuffling is the practice of reordering a set of items into a random or near-random sequence. It is used to reduce predictable order, increase fairness, and provide variety in activities such as card games, music playback, and data processing. The aim is to produce a permutation of the original items in which each possible order is equally likely, or as close to that as feasible.
Card shuffling: Physical methods include the riffle (or 'dovetail'), overhand, Hindu, and the precise but deterministic
Algorithmic shuffling: In computing, shuffles are performed by algorithms such as the Fisher–Yates (Knuth) shuffle, which
Randomness and biases: Real-world shuffles can introduce biases or correlations if performed carelessly. In digital contexts,