That reminds me of the first card shuffling algorithm I ever wrote, to troll my Data Structures in Java professor.
Instead of taking the card objects at random and swapping them with other cards in the deck at random, which was the obvious way the assignment wanted us to do them, I assigned each of the cards in the deck a random variable from 0 to 10000 and then created a sorting method for the deck object that sorted the cards in that deck by that assigned number.
My professor called me in front of the class to ask me why I shuffled the deck in that way, and my response was: "Well, it's like taking the deck of cards and throwing it down a flight of steps, 10000 steps in this particular case, then picking them back up in that order. This is similar to how you said on the first day of class that you graded our assignments."