Randomize card type shown first, for the same note

Hello everyone,

I have noticed that Anki seems to show to me, for each note, first the card of type 1 (e.g., front-back) and then the card of type 2 (back-front).

Is there any way to randomise that order?

In particular, for my case, I have chosen to bury the related cards. But that means that for a long deck like mine (>1000) I will have to go through all the type 1 cards (eng->pol) before ever seeing a type 2 card (pol-eng). I would like to randomise that, so that sometimes I test my eng->pol skills and sometimes my pol->eng skills. Is it even possible in Anki?

I have tried looking for options to do that, but the only flag that allows me to randomise cards for the deck, “Show new cards in random order” seems rather to randomise only the order of the notes (e.g., notes are picked randomly, but for each not, the 1 card type is always shown first).


Try the Cards > Reposition option in the cards browser.

See https://docs.ankiweb.net/#/browsing?id=other-menu-items

1 Like

Thanks for the help! Unfortunately no matter what box I tick I get the same results: the note order has changed (each note has a New #X due property), but the cards in each note are still ordered according to their card type (e.g., first person singular, second person singular, etc.).

in the screenshot you can see that “navegar” has been randomly inserted at the top of the list (ordered by due), but the first person singular (“eu”), corresponding to the first card type still appears first, and all the “navegar” cards are still grouped together because they have the same New #X due property.

This is no matter if I tick “Shift position of existing cards” box or not, or whether I apply the command to all or to a subset.

From @abdo’s link:

[…] will get the same position number (and it will thus be unpredictable which of the cards with the same number comes up first).

So your screenshot shows the desired outcome. Notes will be randomised by assigning them a random position in the new queue (if you checked the box “Randomise order”, that is) and cards of the same note will be randomised by assigning them the same position, so which card come first won’t be determined until you actually study one of them.

1 Like

IIRC, the sibling cards are given the same due number if they are repositioned randomly, as Anki tries to introduce cards in template order. The reason it does this is that often one card is easier than the other - it’s easier to recognize a word in a foreign language than it is to produce it for example. But if you want a fully random order, you can accomplish that with a filtered deck.


so which card come first won’t be determined until you actually study one of them.

That is not correct, I’ve explicitly stated that no matter what the random order of the notes is, card #1 from template #1 (e.g. front-back) always comes first, card #2 from template #2 (e.g. back-front) comes after, etc. The aim is to have randomly presented first either the front (template #1) or the back (template #2) of a card.

Thank you! I see now.

But if you want a fully random order, you can accomplish that with a filtered deck.

Could you please expand on that? I am not sure I understand.
Would just creating a filtered deck with deck:myDeck-only search filter and the “cards selected by Random” option be enough to extract a fully randomised card template from a random note?

I apologise, you are correct. What I was describing only applies to cards of different notes.

As dae said you can either build a filtered deck and set the order to random or use an add-on like this.

Sounds great, thanks for the answer! If I can find a solution that prevents me from installing add-ons I go for that one, since more add-ons means more chance to run into some (cross- or version-) compatibility issue in the future.

Could you be a bit more specific on how a filtered deck would work? (e.g. what settings and filter would I need to use)

That really depends on what you wanto to do with it.
If you want to replace your regular study with the random filtered deck, you could do something like


and set the limits accordingly. Enabling the second filter requires the new scheduler, though.
Then you rebuild and review that deck daily. But since I don’t use filtered decks that way, I can’t speak from experience what limitations there might be compared with the regular study.