Fix project/language sorting in languages and projects tab
Rename variables name
Merge pull request #297 from zanata/ProjectLanguageSorting

Fix project/language sorting in languages and projects tab