Merge pull request #7007 from spycrab/qt_gecko_sort Qt/GeckoCodeWidget: Autosort list and fix accessing the wrong element