You can change the order in which layouts appear in the Comments panel. By default, comments are sorted according to their flow and bar number.
Procedure
Result
The order of all comments is changed in the current project and all future projects on your computer.