I’m on org-roam v2. I was expecting that the org-roam-node-find will show docs in sorted mtime order, because org-roam-node-default-sort is set to file-mtime by default.
I can see in the sqlite3 database that the nodes data is correct and up to date. I can edit a file / node, and its data is updated correctly.
The org-roam-node-find shows docs, which seem to be somewhat sorted by tags (empty tags, numeric tags, and then alphabets). Not all docs with no tags show at the top.
I’ve done a complete org-roam-db-clear-all and rebuilt the database.
No. It seems that modification time is adjusted by the alphanumeric order of what appears in each line in minibuffer.
I haven’t looked into this in detail but that’s the impression I get.
I suspect this varies from a completion framework to another; e.g. the resultant order seems to differ between Ivy and Vertico. I guess it can be further modified by histsave and other modes (prescient?) that influence the order if you have any turned on.
nobiot, thanks for confirming. You are right that different frameworks show (slightly) different order of results. I see differences between selectrum and vertico.
It’s not a big issue, but it will be good to have a definitive way to get results in modification time order.