How can I get Firefox to keep my bookmarks (or at least folders) sorted alphabetically?

In MSIE, a registry setting can ensure that bookmarks and folders always remain in alphabetical order. In Firefox, I have to repeatedly sort each of my bookmark folders independently to maintain order. The add-on, "SortPlaces", which was recommended in answer to similar questions, has been "removed by its author".
To add insult to injury, after getting up my courage to try out Firefox Sync after years of good results using XMarks, I found the order of my bookmarks completely bollixed on the two PCs which I attempted to sync using Firefox sync. The bookmark folders, which were previously in a single alphabetized list, are now split into two lists without any apparent rhyme or reason. I have not foun any way to combine them again, short of wiping them out completely and restoring them from XMarks.
How can I:
1. Repair the schism in my bookmark list?
2. Ensure that my bookmarks remain alphabetized, without repeated manual intervention?

In MSIE, a registry setting can ensure that bookmarks and folders always remain in alphabetical order. In Firefox, I have to repeatedly sort each of my bookmark folders independently to maintain order. The add-on, "SortPlaces", which was recommended in answer to similar questions, has been "removed by its author".
To add insult to injury, after getting up my courage to try out Firefox Sync after years of good results using XMarks, I found the order of my bookmarks completely bollixed on the two PCs which I attempted to sync using Firefox sync. The bookmark folders, which were previously in a single alphabetized list, are now split into two lists without any apparent rhyme or reason. I have not foun any way to combine them again, short of wiping them out completely and restoring them from XMarks.
How can I:
1. Repair the schism in my bookmark list?
2. Ensure that my bookmarks remain alphabetized, without repeated manual intervention?

Question owner

I had disabled Xmarks auto-synchronization when I turned on Firefox Sync, so I don't understand why they should interfere with each other. While seeking answers to these questions, I found other (more serious) horror stories about Firefox Sync Although Firefox Sync offers additional features, like synchronizing Add-ons and settings, I find Xmarks both faster and more flexible for my purposes. In particular, Xmarks bailed me out here by providing a whole history of bookmark archives, from which I was able to restore them.
Many thanks for the link to Auto-Sort Bookmarks! It looks like just what I need!

I had disabled Xmarks auto-synchronization when I turned on Firefox Sync, so I don't understand why they should interfere with each other. While seeking answers to these questions, I found other (more serious) horror stories about Firefox Sync Although Firefox Sync offers additional features, like synchronizing Add-ons and settings, I find Xmarks both faster and more flexible for my purposes. In particular, Xmarks bailed me out here by providing a whole history of bookmark archives, from which I was able to restore them.
Many thanks for the link to Auto-Sort Bookmarks! It looks like just what I need!