When sorting numerically it places results with empty fields (frontmatter properties) first.
Is there a way to exclude files with empty fields from the results table?
I want to sort by 1 first followed by 2 then 3 etc.
This is my current sort code:
Thank you. After trying your suggestion I realised I don’t want to exclude those results (as it’s a multi sort) but instead want them to appear last (I will edit the question now for clarity)
(seems I can’t edit the question after it’s been replied to!)
TABLE Priority, Order
FROM “-Obsidian/Test/Sort Test”
WHERE contains(Location, “Computer”) AND Completed = false
SORT choice(Priority,Priority,0), Order ASC