Take control of your leeches and prioritize your study by automatically distributing cards based on their failure rate!
Are you several weeks into your Anki reviews and starting to struggle with the same difficult cards over and over? As exam day draws near, studying your whole deck isn't efficient anymore. You need a 'binning' strategy to separate the easy stuff and focus strictly on your hardest cards.
Karo Magic Again Sorter is a powerful, statistically robust tool that takes the guesswork out of your revision: it identifies your exact weak spots and automatically organizes them so you can tackle your leeches right when it matters most.
What it does
This add-on analyzes a selected Superdeck and looks at your Total Agains (the exact number of times you've pressed the red "Again" button on a card, including during the learning phase). It then automatically sorts and physically moves all the cards into 4 new Subdecks (Buckets), ordered from your absolute worst cards to your best ones.
How the "Magic" works (Statistically Balanced)
Instead of using arbitrary numbers (like "cards with 3-5 agains"), this add-on uses Rank-Based Quartile Binning. It ranks all the cards in your deck from highest again count to lowest, and splits them into 4 perfectly equal chunks:
- Bucket 1 (High Agains): The top 25% of cards you struggle with the most. Start your study session here to tackle your biggest weaknesses while your mind is fresh!
- Bucket 2 (Medium-High): The next 25% of challenging cards.
- Bucket 3 (Medium-Low): The 25% of cards you occasionally forget.
- Bucket 4 (Low/Zero): The bottom 25% of cards you know very well (or new cards with 0 agains).
Features
- One-Click Organization: Just select your Superdeck and click a button. The add-on creates the subdecks and moves the cards automatically.
- Reversible Sorting (Safe Restore): Want your old deck structure back after your exams? Before sorting, the add-on safely tags cards with their original subdeck names. Simply click "Restore Original Subdecks" to instantly return every card to its rightful place!
- Deck Preset Inheritance: The newly created Bucket subdecks automatically inherit the Deck Options/Preset of your original Superdeck, so your scheduling settings remain perfectly intact.
- Auto-Language Detection: The UI automatically adapts to your Anki language! Currently supports English, Italian, and Spanish.
How to use
- Open Anki and go to the top menu bar: Tools > Karo Magic Again Sorter...
- A dialog will appear. Select the Superdeck you want to sort from the dropdown menu.
- Click "Sort into 4 Buckets".
- Enjoy your newly organized deck and start destroying those leeches!
- Optional: When you're done studying, open the add-on again, select your deck, and click "Restore Original Subdecks" to put your Anki tree back exactly how it was.
Supported Languages
- English
- Italiano
- EspaΓ±ol
(The add-on auto-detects your Anki interface language. If your language is not supported, it safely defaults to English).
βοΈ Compatibility: Fully tested and working on modern Anki versions, including Anki 25.09+ (Qt6 / Python 3.13).
Donations
If you find this add-on helpful for your exams, consider supporting my work! Donations are greatly appreciated and help me keep creating free tools.
Support & Feedback: I am always open to suggestions and improvements. Feel free to open an issue or share your feature requests directly on GitHub.
Karo Magic Again Sorter
Take control of your leeches and prioritize your study by automatically distributing cards based on their failure rate.
Are you several weeks into your Anki reviews and starting to struggle with the same difficult cards over and over? As exam day draws near, studying your whole deck isn't efficient anymoreβand revising without chapter boundaries can break your study flow. You need a structured 'binning' strategy to isolate your hardest cards within each specific chapter.
Karo Magic Again Sorter is a powerful, statistically robust tool that takes the guesswork out of your revision: it identifies your exact weak spots and automatically organizes them into nested chapter buckets so you can tackle your leeches right when it matters most.
What it does
This add-on analyzes a selected Superdeck and examines your Total Agains (the exact number of times you've pressed the red "Again" button on a card, including during the learning phase).
Instead of flattening your entire collection into generic buckets, it preserves your chapter structure and organizes each chapter/subdeck into 4 nested quartile Subdecks (Buckets), ordered from your absolute worst cards to your best ones:

Biology
βββ Chapter 01 - Cells
β βββ 1_Bucket_High_Agains
β βββ 2_Bucket_Medium_High
β βββ 3_Bucket_Medium_Low
β βββ 4_Bucket_Low_Zero
βββ Chapter 02 - Genetics
βββ 1_Bucket_High_Agains
βββ 2_Bucket_Medium_High
βββ 3_Bucket_Medium_Low
βββ 4_Bucket_Low_Zero
How the "Magic" works (Statistically Balanced per Chapter)
Instead of using arbitrary cutoffs (like "cards with 3β5 agains"), this add-on applies Rank-Based Quartile Binning locally to each chapter/subdeck:
- Bucket 1 (High Agains): The top 25% hardest cards you struggle with the most in that chapter. Start here to tackle your biggest weaknesses while your mind is fresh!
- Bucket 2 (Medium-High): The next 25% of challenging cards.
- Bucket 3 (Medium-Low): The 25% of cards you occasionally forget.
- Bucket 4 (Low/Zero): The bottom 25% of cards you know very well (or new cards with 0 agains).

Features
- Nested Chapter-by-Chapter Sorting: Keeps your syllabus organized. You can revise one chapter at a time while focusing exclusively on its hardest cards.
- Dynamic "Update / Re-sort" Button: As you study and fail difficult cards or master previously hard ones, simply click "Update / Re-sort Buckets". The add-on dynamically recalculates your latest stats and shifts cards between buckets in real-time.
- 100% Reversible (Safe Restore & Clean Pruning): Cards are tagged with their original deck origin (
Karo_Orig_*). Clicking "Restore Original Subdecks" instantly returns every card to its original chapter and automatically deletes the leftover empty bucket subdecks to leave your collection spotless.
- Deck Preset Inheritance: Newly created Bucket subdecks automatically inherit the Deck Options / Preset configuration of the parent chapter/superdeck, keeping your daily limits and scheduling settings intact.
- Auto-Language Detection: The UI automatically adapts to your Anki language. Currently supports English, Italian, and Spanish.
How to use

- Open Anki and go to the top menu bar: Tools > Karo Magic Again Sorter...
- Select your Superdeck from the dropdown menu.
- Click "Sort into Nested Buckets" to organize your cards into chapter quartiles.
- Study & Update: As you review and your failure rates evolve, open the dialog and click "Update / Re-sort Buckets" to refresh card placements based on your latest review statistics.
- Restore: When your exam or revision block is complete, select your superdeck and click "Restore Original Subdecks" to return all cards to their original structure and clean up the bucket decks.
Supported Languages
- English
- Italiano
- EspaΓ±ol
(The add-on auto-detects your Anki interface language. If your language is not yet supported, it safely defaults to English).
Compatibility: Fully tested and working on modern Anki versions, including Anki 25.09+ (Qt6 / Python 3.10+ / Python 3.13).
Support & Feedback
Created by Karo Magic
If you find this add-on helpful for your exam prep, consider supporting my work! Donations on Ko-fi are greatly appreciated and help me keep creating free, high-quality tools.
Issues & Contributions: Open to suggestions and improvements! Feel free to open an issue or submit feature requests directly on GitHub.
529d2f2 (Update Karo Magic Again Sorter with chapter-nested sorting, multilingual UI, light screenshots, and comprehensive documentation)