What I did:
Selected a project with notes pinned to the top. Changed the View → Group Notes by → from “Ungrouped” to “Done status”
What happened:
The Pinned notes to the top moved to another place, not the top.
What I expected:
Pinned notes should stay at the top irrespective of the grouping of the notes.
Things that might be helpful to know (Agenda version, OS and model, etc):
version 19.0 (302). macOS.
The pinned notes to the top might get ordered by date. So it is important to check the order on how the notes get created. Meaning, create a bunch of notes and pin an old one to the top.