src/Kunstmaan/ArticleBundle/AdminList/AbstractArticleCategoryAdminListConfigurator.php
public function getQuery()
    {
        $query = parent::getQuery();

        if (!is_null($query)) {
            $query->setHint(
                \Doctrine\ORM\Query::HINT_CUSTOM_OUTPUT_WALKER,
                'Gedmo\\Translatable\\Query\\TreeWalker\\TranslationWalker'
            );
            $query->useQueryCache(false);
        }

        return $query;
    }
public function getQuery()
    {
        $query = parent::getQuery();

        if (!is_null($query)) {
            $query->setHint(
                \Doctrine\ORM\Query::HINT_CUSTOM_OUTPUT_WALKER,
                'Gedmo\\Translatable\\Query\\TreeWalker\\TranslationWalker'
            );
            $query->useQueryCache(false);
        }

        return $query;
    }
public function getQuery ( ) { $ query = parent :: getQuery ( ) ; if ( ! is_null ( $ query ) ) { $ query -> setHint ( \ Doctrine \ ORM \ Query :: HINT_CUSTOM_OUTPUT_WALKER , 'Gedmo\\Translatable\\Query\\TreeWalker\\TranslationWalker' ) ; $ query -> useQueryCache ( false ) ; } return $ query ; }
Overwrite the parent function. By adding the TranslationWalker, we can order by the translated fields.

@return \Doctrine\ORM\Query|null
Overwrite the parent function . By adding the TranslationWalker we can order by the translated fields .