Kmail: Mailbox folder order reversed

One day akonadi (sqlite backend) told me that all my IMAP agents are offline. I did “akonadi fsck” and “akonadi restart” and after that the order of the folders in all my mailboxes is reversed. Usually the order is Inbox, Sent, Trash, Drafts (the special folders) and then all others other ordered alphabetically

Also the order of the mailboxes/accounts is reversed to the custom order

How can i fix it ?

Have you tried clicking the Name column header?

Mine shows the arrow pointing up and the order being the one you want to have.
If I click it and have the arrow pointing down like in your screenshot, the order of folders is also like in your screenshot

This can not be true :face_with_peeking_eye: You are my hereo ! I must have unintentionally clicked on the column header. I didn’t relaised that.