Splits decks into categories.