Notes in project sorting incorrectly

What I did:

  • Opened a project I hadn’t looked at for a while by clicking a link to the project itself from Omnifocus.

What I expected:

  • To see the newer of the two notes in the project first.

What happened:

  • The older of the two notes appeared first instead of second. I changed it to earliest first, and the older moved to the bottom. I changed it back and the older one went to the top.

What I did next:

  • Created a note with today’s date.

What I expected then:

  • That I’d have three notes sorted properly somehow?

What happened then:

  • I now have three notes in this project appearing in this order:
    • Testing sort — Apr 13, 2019
    • Older notes — Nov 28, 2018
    • Restocking for trip — Jan 29, 2019
  • If I click on the project name at the top, they are in the same order and at the bottom, it says, “Sort with earliest date first”, indicating the earliest note should be last.

Things that might be helpful to know (Agenda version, OS and model, etc):

  • Agenda v 5.2
  • MacOS v 10.14.4

I tried to check if the November 28 note was pinned to the top, but it doesn’t seem to be, plus the new one dated today wouldn’t be first, if it were. I did pin it to the top and unpin it which had the expected result — the pinned note went to the top and then back to its previous (incorrect) position.

I tried clicking on another project and coming back to this one but that didn’t make any difference.

I assume this is a fluke of some kind and nearly impossible to reproduce. I suspect there is something about the November 28 note that’s messing it up. It contains text pasted in from an Omnifocus note, but I have other notes I created that way that are staying at the bottom as the earliest in their projects.

If you want me to private message it to you, let me know. I exported it as an agenda file since I’m going to be editing it since I need Today’s note to have the current information.

  • Liz

Thanks for the report, two questions. Could you send us a series of screenshots of what you describe, that would make it much easier to fully grasp the issue? Second, did you perhaps create these notes using a x-callback-url?

I did not use x-callback-url to create the notes (I’ve never used that feature). For the earliest note, I probably created it in January when I created to Jan 29 note. I probably went back thru the calendar and set the date, but I might have put the date in the title and done it that way instead. I’m not sure why I set it to Nov 28, 2018 now; I think I meant to make it Nov 16.

A screenshot of the notes are below with some text blacked out, mostly names of meds. (Looks like I ought to clean up the text some…)

I did change the title of the note created April 13 and put current information in it, but other than that, the notes are as I reported above.

In the screen shot below, none of the notes are pinned; it’s sorted like probably all my projects are, so the newest should be at the top and earliest at the bottom. The stuff under the blue boxes is just normal text, usually a word or two with names of meds. Nothing is bold or italic; no links.

I’m not sure what series of screenshots would help, and not inclined to guess since it’s a little tedious to do with so much to cover up. Alternatively, I could try taking most of the text out (after recreating the notes in another project for my use) and then make different screenshots.

That’s bizarre, thanks that helps a lot. If you change the date of that middle note in the screenshot to say Nov 16, 2018, does it now sort to the right position?

Yes, changing the date to Nov 16 moved it right down. I changed it back to Nov 28 and it stayed where it should. So, it sounds like it’s something about the date as it was.

I private message you the Agenda file that I saved earlier.

  • Liz

Ok great, sounds like a glitch, possibly from an old version already. Please let us know if you see any more odd sorting occur, especially with new notes.

1 Like

Ok, cool! Thanks.

1 Like

I think something similar might have just happened to me. I created a new project today and copy-pasted around 30 notes into it (with dates going back to 2015). The note with today’s date was stuck at the top, while the rest were sorted from oldest to newest (second newest was at the bottom).

After reading your suggestion I moved today’s note to tomorrow. At that point it sorted correctly (at the very bottom). After that I changed it back to today and it remained in the right place.

Before changing the date I exported the project to an .agenda file. So if it would help you in any way I can try to reproduce by reimporting (or I could just send you the file, there is no sensitive/private data).

Got the same problem here. Added a new note, then assigned current date to it, so it shows up as „today“ in the overview. Then started sorting by date and the new note shows up somewhere in the middle at incorrect position.

Odd, seems we’re missing a situation under which notes should be resorted. If this happens could you share some screenshots that shows the note out of place? Also, if you remember the steps before this happened (like copy paste as above) that would be good info to have.