Anki add-on: Automatically Sort Cards Into Decks (Card Sorter)

This simple add-on allows you to tie specific card types to specific decks. For example You have note type for words that is called Word note and the cards in it have these fields: Word Meaning Audio Suppose you want to create 3 card types with each field on in the front, but don't want to keep audio cards in the same deck as word and meaning cards Now you can assign a deck to any card type and this add-on will automatically sort all your cards into them The sorting happens on each sync and on each newly added card How to configure the add-on Here is the example of config.json file: { "sortData": { "Example word note": [ { "card": 1, "deck": "Front and Back Sides" }, { "card": 2, "deck": "Front and Back Sides" }, { "card": 3, "deck": "Listening Cards" }, { "card": 4, "deck": "Anything Else" } ], "Another example note": "Deck for All Cards" } } Just replace "Example word note" and "Another example note" for your own note type names Then specify the deck for each existing card types or just put one deck name for all card types In example given earlier this will look something like that: { "sortData": { "Word note": [ { "card": 1, "deck": "Vocab" }, { "card": 2, "deck": "Vocab" }, { "card": 3, "deck": "Listening" } ] } } Then reload Anki and enjoy Note: this add-on is not removing or altering your cards, only moving them between decks, but you might want to backup your collection before installing, just in case Also: when adding cards with AnkiConnect , you need to sync to apply sort. Unfortunately, I couldn't find a good way to detect when this adding happens while being able to change individual cards' decks