No matter how you mix this stack of cards, it only takes four quick operations to sort them back into numerical order. These cards use binary numbers to do their magic. Binary numbers are numbers in the base two numeral system that are composed of ones and zeros. The pattern of slots and holes along the top edge of each card corresponds with the ones and zeros of the card number.
Number the cards from zero to fifteen and pencil in the binary representation of the number on the card.
Cut a slot that extends from the hole to the edge of the card wherever there is a one is the binary number. For example the number 7 is 0111 in binary. So for the card number seven, leave the first hole on the left as it is, but cut a slot to the next three holes.