How do I view/search for notes with the most links?

Things I have tried

I have been able to sort my notes alphabetically or by date created. I can view my tags organized by how many notes have that tag. But I don’t seem to be able to view notes by number of links.

What I’m trying to do

I’m sure I’m missing something terribly obvious, but how do I view my notes by the number of links they have?

Thank you for any help.

1 Like

i think for that you would need to use dataview plugin. replace “folder” to specify any of your vault’s folder

```dataview
LIST length(file.inlinks)
FROM "folder"
SORT length(file.inlinks) DESC
LIMIT 5
```

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