The magician stacks the deck in a particular order to create predetermined outcomes or to achieve specific illusions.