And mentioned in this dicussion as well.
Decks are stored as separate rows in an SQL table. How do you propose the order is represented? How do you propose decks and their children are kept together? How can we correctly and efficiently handle decks that may interleave with the existing order on things like imports and syncing? How can we avoid having to update the positions of lots of decks at once when they are reordered? Lexicographical ordering may not be the most user-friendly, but it lets us avoid a lot of complexity, and performs well.
I’ll create a PoC on my fork and then try to answer your questions with a real implementation.
Can’t deck be ordered by numbers and not by letters? My problem is when I try to create a deck with a number like 10) in order to sort my Anki decks, it appears next after 1) and before single digit decks. Like 1) 10) 11) 9).
Edit: 1) 10) 11) 9).
Try
01
10
11
Try
01)
09)
10)
11)
The sorting isn’t in numerical order, it’s in “ASCII-betical” order – character-by-character based on their order in the ASCII table.
You’ll need 3-char “001” if you want to go past the last 2-char number “99” – but if you get to 100 decks that you need to keep in order, something has already gone wrong in your organizational system.
That’s way too many decks and there are better ways to organize your cards – Adding/Editing - Anki Manual .
i would feel good if my v v important decks are pinned, are so they always appear at the top of the deck list, making it much faster to access a few actively used decks when there are many decks .show pinned decks in a small section at the top (keeping their order consistent with existing or alphabetical sorting), store the pinned state locally so it survives restarts, and allow unpinning through the same menu, with some nice-to-haves like long-press “Pin/Unpin
Previous threads:
Even if your suggestion was specific to AnkiDroid – for ecosystem-compatibility reasons, this probably would have to start in desktop Anki, so I’ve merged your post here, along with the rest.
I made this add-on here, maybe it can help you.
Quick note: your add-ons would be far more accessible if the add-on pages and the add-ons themselves were in English instead of Spanish. Based on your review page, it looks like you’ve been vibe-coding most of it anyway, so you could just have ChatGPT generate the page text or the in-addon content in English to make it easier for the broader community to use

