Add ordering to get_available_languages()