Sort by Freq
An Anki add-on that reorders your new cards by a numeric field (default: Freq), so the most common words are studied first.
Why use it
When you bulk-import thousands of cards (vocab lists, sentence banks), they're in import order, not usefulness order. If each note has a frequency rank, this puts the highest-value words at the front of the queue.
Usage
- Tools β Sort new cards by Freq, or press
Ctrl+Shift+F (configurable)
Ctrl+Z undoes the sort
- Re-run after importing more cards
Open settings via Tools β Add-ons β Sort by Freq β Config.
How it works
- Finds new cards in your chosen decks (subdecks included) whose field is a plain number
- Sorts them by that number
- Rewrites their new-card positions to match, starting at 0
New cards only. Only new cards have a queue position. Learning and review cards are scheduled by due date and are ignored. Cards with an empty or non-numeric field are skipped and left as is.
Multiple decks. Decks are processed in the order listed and stacked, not mixed. With Japanese,Mandarin, all Japanese cards come first (sorted by Freq), then all Mandarin cards (sorted by Freq).
Ascending vs descending.
- Ascending (default): lowest first. Use for frequency ranks (1 = most common).
- Descending: highest first. Use for frequency counts (bigger = more common).
Settings
| Setting | Description |
|---|---|
| Decks | Comma-separated deck names, no spaces after commas (e.g. Japanese,Mandarin). Spaces are kept exactly as typed. |
| Field | Note field to sort by. Case-insensitive. Must contain a plain number. |
| Descending | Highest number first |
| Shortcut | Keyboard shortcut for the Tools menu action |
Important
In Deck Options β New Cards, set the gather/sort order to use position (e.g. "Ascending position"), not random. Otherwise Anki ignores the order this add-on sets.
Sorting uses shift_existing=False, so new cards in decks not listed that already occupy the same positions can interleave with yours.
Requirements
Anki 2.1.50 or newer.
Installation
- AnkiWeb: Tools β Add-ons β Get Add-ons β enter the code from the add-on's page
- Manual: Tools β Add-ons β Install from file β select the
.ankiaddon
License
Add your license here (e.g. MIT).