Sort applications respecting locale
Removed context caching
Merge pull request #1004 from jpeg729/locale_sort

Sort applications respecting locale