Sorting the languages and resources for better experience in console