Better sort in inline link (@) menu

Currently, when linking to an object using the @ function, objects appear in what seems to be a random order. This arbitrary arrangement complicates the process of finding the intended item.

WHAT DO YOU RECOMMEND

To further optimize user experience, my recommendation is that during @ object linking, objects in the dropdown list should initially be sorted by name and subsequently, within each name, be sorted based on their creation date.

REAL WORLD USE CASES

On a daily basis, I create a Daily note. Part of this routine involves following up on the previous day’s note. To facilitate easy navigation between the current Daily note and yesterday’s, I embed a link to the preceding day’s note.

Currently, when I start typing to create this link, the dropdown list doesn’t seem to follow any particular order, making it difficult to locate yesterday’s daily note.

RECOMMENDED ALTERNATIVES

While it is currently possible to scroll through the list to find the object you wish to link, implementing a sorting method by creation date would greatly enhance convenience and efficiency.

ADDITIONAL CONTEXT

This feature request has some relevance to this feature request:

Now this list is sorted by last edited date. Maybe this info will help to operate you. For most use cases it seems better choice then sort by name.

When you say, “Now this list is sorted by the last edited date,” are you referring to the current version of the app? In version 0.34.3 (macOS), the list for the inline link menu is not sorted by either the creation date or the last modified date. I can’t see any patterns as to why the list is sorted the way it is.

From the inline link menu:
CleanShot 2023-09-13 at 13.10.13

A set of daily notes, solely for displaying the most recent modified dates (the creation date is always the same as the date in the title, creating a new daily note is the first thing I do in the morning).

In 0.34.5-apha, it doesn’t seem order by date (not created date nor modified date).
(just for information… this is clearly not my use case :zipper_mouth_face:)

@Shampra @langtind Sorry, in current release it is sorted by last opened date.

@ignatovv Are you certain about this? When I test it, it doesn’t appear that way to me.

The most recent daily note opened was definitely Daily Note 12. oktober. However, I have to scroll quite far down the list to locate it.

CleanShot 2023-10-13 at 09.24.20

Are you sure you are on the latest release? It definitively works for me now, but I remember it not working just a few release back.

I’m using the latest version.
Versjon: 0.35.4

I conducted some testing here. Initially, I created 10 pages titled “Testing 1” through “Testing 10.”

When I tap “@”, the output is sorted in such a way that the latest opened item appears at the top.

When I type more, @testing, the selection list does not sort with the latest opened on top.

I opened Testing 5 to confirm that the latest opened page appears at the top of the list. Upon entering “@,” I found the correct page at the top.

The question is: Does sorting by the latest opened only work when you enter “@”? Or should it also work if you enter some text?

macOS Sonoma
Macbook Pro M1 Max

Sort by “last opened” works well for me!