Starting up kmail 2 the folder tree is not sorted alphabetically or in the order it had been arranged before. Selecting a folder causes the first level of folders (but not child folders) to be correctly sorted.
I don't understand I fixed it... Will look at after my vacations
Fixed in trunk here. Please update your version.