Fix alphabetical sorting of packages and extensions

Packages and extensions were not initialized in the right order.
Fixes #243 SPC s c does not unhighlight