Sharing out of DTG to Shortcuts, inconsistent order of items

I select and share an item (named “some random name”) from Devonthink To Go to Siri Shortcuts.

Using “View Content Graph”, I see two items listed:

Some random name
Some random name (382)

The issue I run into is that the order is sometimes flipped.

Specifically, I tested a (1) PDF, (2) markdown and a (3) docx file.

For 2 and 3, the order is as I wrote it above. For the pdf file, the order is flipped:

Some random name (382)
Some random name

The order matters as I’m trying to pick one (without the parenthetical numerical ID). I have concocted an if-then solution in Shortcuts. But it would be nice to have a consistent order.

1 Like