# Sort filter deck by custom field?

**URL:** <https://forums.ankiweb.net/t/sort-filter-deck-by-custom-field/7670>\
**Category:** Help\
**Created:** [February 20, 2021, 7:36pm UTC](https://forums.ankiweb.net/t/sort-filter-deck-by-custom-field/7670 "2021-02-20T19:36:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![big.smile](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@big.smile](https://forums.ankiweb.net/u/big.smile)\
**Post date:** [February 20, 2021, 7:36pm UTC](https://forums.ankiweb.net/t/sort-filter-deck-by-custom-field/7670/1 "2021-02-20T19:36:52Z")

</div>

I have a filter deck which displays particular cards. When reviewing this filter deck, I’d like the cards to come in a specific order based on the values of a particular field (The field only contains number, so I would like to sort ascending based on this field). Is there anyway to do this?

The options only allow you sort by Order added, but that’s not good for me as the card were not added in order (and I’ve got too many cards to do that now).

I know I can change the sort order in the browser, but I want to control that order when I review the cards via the filter deck.

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [February 20, 2021, 11:58pm UTC](https://forums.ankiweb.net/t/sort-filter-deck-by-custom-field/7670/2 "2021-02-20T23:58:57Z")

</div>

Sorry, it’s not possible to sort a filtered deck based on field text.

---

<div class="post-metadata">

**Author:** ![big.smile](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@big.smile](https://forums.ankiweb.net/u/big.smile)\
**Post date:** [February 21, 2021, 10:19pm UTC](https://forums.ankiweb.net/t/sort-filter-deck-by-custom-field/7670/3 "2021-02-21T22:19:51Z")

</div>

@dae Please consider adding the ability to sort filter decks by any field. It would be useful for the following use cases:

- Learning the lines of a play
- Learning conversation trees in languages
- Learning steps in a procedure

Although one can sort by date added, there are situations where the order can change so being able to sort by a custom field would be very useful.

Thanks!

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [February 22, 2021, 12:15pm UTC](https://forums.ankiweb.net/t/sort-filter-deck-by-custom-field/7670/4 "2021-02-22T12:15:31Z")

</div>

Instead of making cards depend on a specific order that you have to go through every time, you may want to look into a tool like [LPCG (Lyrics/Poetry Cloze Generator) - AnkiWeb](https://ankiweb.net/shared/info/2084557901) to add context to your cards. That way the cards don’t depend on a specific order, and they can be answered out of order, and scheduled separately.

---

<div class="post-metadata">

**Author:** ![big.smile](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@big.smile](https://forums.ankiweb.net/u/big.smile)\
**Post date:** [February 22, 2021, 1:16pm UTC](https://forums.ankiweb.net/t/sort-filter-deck-by-custom-field/7670/5 "2021-02-22T13:16:36Z")

</div>

Thanks! I had actually tried that module previously, but I found it wasn’t as helpful as practising the cards in a filter deck in order. Thanks anyway! 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [May 1, 2023, 7:57am UTC](https://forums.ankiweb.net/t/sort-filter-deck-by-custom-field/7670/6 "2023-05-01T07:57:26Z")

</div>

Closed on May 1, 2023, 7:57am UTC


