Grouping by “marked done” causes odd assigned date sorting

What I did:
I created 5 notes in a new project with assigned dates Jan 31, Feb 13, Feb 25, Feb 28 and Mar 1.

What happened:
If I sort the project by assigned date with no grouping, the notes sort correctly by assigned date. If I add grouping by marked done to the project, the marked done note moves to the bottom of the list…but the remaining assigned dates sort out of order.

What I expected:
I expected all marked done notes to move to the bottom of the project (which happens). I don’t understand what causes the remaining assigned dates to sort out of order.

Things that might be helpful to know (Agenda version, OS and model, etc): Downloaded Agenda yesterday (Jan 31, 2024)

Thanks for the feedback, we’ll take a look.