Bug 1109387 - Fix the alphabetical sorting

https://bugzilla.mozilla.org/show_bug.cgi?id=1109387