# Is there a way to search for notes that share a sort field?

**URL:** <https://forums.ankiweb.net/t/is-there-a-way-to-search-for-notes-that-share-a-sort-field/55321>\
**Category:** Help\
**Created:** [February 3, 2025, 9:11pm UTC](https://forums.ankiweb.net/t/is-there-a-way-to-search-for-notes-that-share-a-sort-field/55321 "2025-02-03T21:11:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![RRomeroJr](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@RRomeroJr](https://forums.ankiweb.net/u/RRomeroJr)\
**Post date:** [February 3, 2025, 9:11pm UTC](https://forums.ankiweb.net/t/is-there-a-way-to-search-for-notes-that-share-a-sort-field/55321/1 "2025-02-03T21:11:04Z")

</div>

I have a normal note type and a cloze note type.  
They both have the same sort field information in their sort fields.  
Is there a way to search for notes that share the same sort field with another note?  
For example

> | Sort | Text |
> | --- | --- |
> | **vestragon** | {{Cloze}} {{information}} {{in}} {{here}} |

> | Sort | Partic. | Type | Example sentence |
> | --- | --- | --- | --- |
> | **vestragon** | vestreta | C-fin | (some example sentance) |

Then the search would display these two notes because their sort fields match

I know that I can search for the word specifically but I want to get all notes that match in this way

---

<div class="post-metadata">

**Author:** ![NameLessGO](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/namelessgo/32/34298_2.png) [@NameLessGO](https://forums.ankiweb.net/u/NameLessGO)\
**Post date:** [February 3, 2025, 9:27pm UTC](https://forums.ankiweb.net/t/is-there-a-way-to-search-for-notes-that-share-a-sort-field/55321/2 "2025-02-03T21:27:43Z")

</div>

Try `Sort:*`

> `Front:*`  
> finds notes that have a Front field, empty or not.  
> [Searching - Anki Manual](https://docs.ankiweb.net/searching.html#limiting-to-a-field)

Check the manual entry above if it doesn’t work

---

<div class="post-metadata">

**Author:** ![RRomeroJr](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@RRomeroJr](https://forums.ankiweb.net/u/RRomeroJr)\
**Post date:** [February 3, 2025, 9:38pm UTC](https://forums.ankiweb.net/t/is-there-a-way-to-search-for-notes-that-share-a-sort-field/55321/3 "2025-02-03T21:38:48Z")

</div>

Doesn’t seem to be be working.

I don’t want to search for notes that _have_ a field called “sort”  
I want all notes who’s sort fields’ values matches some other note’s value

As in Note1.sortField == someOtherNote2.sortField  
As long as it matches at least 1 other note it appears in the search

---

<div class="post-metadata">

**Author:** ![NameLessGO](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/namelessgo/32/34298_2.png) [@NameLessGO](https://forums.ankiweb.net/u/NameLessGO)\
**Post date:** [February 3, 2025, 10:25pm UTC](https://forums.ankiweb.net/t/is-there-a-way-to-search-for-notes-that-share-a-sort-field/55321/4 "2025-02-03T22:25:45Z")

</div>

Still unsure on what you mean, what sort field suppose to mean, its mostly a placeholder option to display sorting options

Here are some add-ons that adds more sorting options or improve browse in some way

- [Advanced Browser](https://ankiweb.net/shared/info/874215009)
- [BetterSearch](https://ankiweb.net/shared/info/1052724801)

In any case, the section about [searching](https://docs.ankiweb.net/searching.html) might have what you are looking for

---

<div class="post-metadata">

**Author:** ![Danika\_Dakika](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/danika_dakika/32/17815_2.png) [@Danika\_Dakika](https://forums.ankiweb.net/u/Danika_Dakika)\
**Post date:** [February 3, 2025, 10:46pm UTC](https://forums.ankiweb.net/t/is-there-a-way-to-search-for-notes-that-share-a-sort-field/55321/5 "2025-02-03T22:46:05Z")

</div>

If you mean more of a broad checking-for-duplicates – you can’t do it based on which field you have designated as the sort field, but you can do it based on any named-field that the notes have in common. [Browsing - Anki Manual](https://docs.ankiweb.net/browsing.html#finding-duplicates)

A few things to note –

- Who controls the names of the fields? You do! If those 2 note types don’t use the same name for that field, just change one of them to match the other. That can be a temporary change that you change back later, or a permanent change, if the name makes sense.
- When you change the name of a field for a note type, all of its card templates automatically update to use that new field name. _[Without a doubt, this is my very favorite sensible, and yet hidden, feature in Anki!]_

---

<div class="post-metadata">

**Author:** ![RRomeroJr](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@RRomeroJr](https://forums.ankiweb.net/u/RRomeroJr)\
**Post date:** [February 3, 2025, 11:03pm UTC](https://forums.ankiweb.net/t/is-there-a-way-to-search-for-notes-that-share-a-sort-field/55321/6 "2025-02-03T23:03:42Z")

</div>

I thought to change my fields so that their sort field names match but I not sure how to search for _all_ duplicates with a given field name

Basically like the automatic duplicate check but across note types instead of with-in the same note type

---

<div class="post-metadata">

**Author:** ![Danika\_Dakika](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/danika_dakika/32/17815_2.png) [@Danika\_Dakika](https://forums.ankiweb.net/u/Danika_Dakika)\
**Post date:** [February 4, 2025, 1:54am UTC](https://forums.ankiweb.net/t/is-there-a-way-to-search-for-notes-that-share-a-sort-field/55321/7 "2025-02-04T01:54:02Z")

</div>

Did you read the link?

---

<div class="post-metadata">

**Author:** ![RRomeroJr](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@RRomeroJr](https://forums.ankiweb.net/u/RRomeroJr)\
**Post date:** [February 4, 2025, 9:10pm UTC](https://forums.ankiweb.net/t/is-there-a-way-to-search-for-notes-that-share-a-sort-field/55321/8 "2025-02-04T21:10:22Z")

</div>

I’m very sorry. I thought it was a link to something else I already saw. tyvm

---

<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:** [March 6, 2025, 9:10pm UTC](https://forums.ankiweb.net/t/is-there-a-way-to-search-for-notes-that-share-a-sort-field/55321/9 "2025-03-06T21:10:54Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
