Update LanguagesRepository.php

Update db table column references for newer TYPO3. Also set default sorting to UID ascending (to better reflect installation settings instead of alphabetic sort).