[BUG] Task sort order: desktop and mobile difference
See original GitHub issueDescribe the bug Dataview sorts tasks arbitrarily with differences between desktop and mobile. SORT and GROUP BY do not work on any version.
From a simple syntax:
```dataview
task from #active
where !completed
```
On mobile, Dataview returns the note list with tasks as:
- Project A
- Project B
- Project C
- Project D
- Project E
On desktop, the note list with tasks is returned as:
- Project C
- Project B
- Project A
- Project E
- Project D
Moreover, all SORT or GROUP BY options do not work. E.g. setting a sort to:
SORT file.name ASC does nothing.
GROUP BY brings up a list of all tasks under a — heading without any grouping.
Expected behavior Note and tasks are ordered identically on every device. SORT and GROUP BY work as intended.
Desktop (please complete the following information):
- OS: macOS
- Obsidian Version: 0.12.15
- Dataview Version: 0.4.10
Smartphone (please complete the following information):
- Device: iPhone 12 Mini
- OS: iOS 15
- Obsidian Version: 0.12.15
- Dataview Version: 0.4.10
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (2 by maintainers)
Top Results From Across the Web
Tasks out of order in phone app - Asana Community Forum
Steps to reproduce: Manually order a few tasks in desktop view, making sure they're not the same order that you created them in....
Read more >Sorting in the Activity Timeline - Salesforce Help
Both upcoming and overdue activities and past activities can have different sort orders. You can sort upcoming and overdue activities in one of...
Read more >10 common problems with order picking...and how to solve them
This article covers the answer to the common question: How to reduce manual picking errors. Picking is, as you'd expect, a major action...
Read more >Sort Visual Task Boards - Product Documentation | ServiceNow
You can sort Visual Task Boards using criteria that you create with a Sort-Filter option, grouping items by properties to help organize your...
Read more >Card Sorting - Usability.gov
You must have as many sets of cards as concurrent sessions or have each participant at a separate computer if using online card-sorting...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The fix is happening today, so a docs update is probably not required unless I have it push it back further.
It’s worth noting the reason referencing
file.name
and similar do nothing is because file metadata is not added to tasks (just yet) - I am resolving this in the upcoming release (0.4.11).