Sorting the list of newsgroup subscriptions in Thunderbird

I use Mozilla Thunderbird as my news reader and off-line RSS reader. It has long bugged me that there is no option in Thunderbird to sort the list of news groups that you have subscribed to alphabetically.

Today, I discovered this tip on how to do what I wanted and I can verify it works very well. In my case I followed the instructions and used Vim to edit the .rc file and sort it. I hope this tip helps a few of you the same way it has helped me.