Sorting a list of tasks from dataview

I’m trying to get a list of tasks sorted alphabetically. My GTD #agenda tasks are all of the format

  • [ ] #agenda [[Name]]

and I’d like to have my query sorted alphabetically. That will group all the tasks of one person together, all the tasks of the second and so on.

For example,

  • [ ] #agenda [[David]] discuss A
  • [ ] #agenda [[David]] discuss C
  • [ ] #agenda [[Hariett]] discuss B

and not

  • [ ] #agenda [[David]] discuss A
  • [ ] #agenda [[Hariett]] discuss B
  • [ ] #agenda [[David]] discuss C

Things I have tried

task 
from #agenda
where !completed

No matter what sort clause I add, the list is the same

1 Like

Hi dcb,
On some test tasks I just tried,

task
from #agenda
where !completed
sort text asc

(or sort text desc) seemed to be sorting the tasks alphabetically. Does that work for you?
If that does not work for you, perhaps you could try outlinks[0] source: implicit fields documentation in your sort?

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.