Update LanguagesRepository.php

Use db table column "flag" instead of "lg_iso_2". (No longer exists in newer TYPO3.) Also set default sorting to UID ascending.