sonata-project/SonataAdminBundle — Issue #387: Multi-sort 
Author: alexhub79
Created: 2011-11-08 15:48:15+00:00
State: open

You can not define several fields

protected $datagridValues = array(
'_page' => 1,
'_sort_order' => 'DESC', // sort direction
'_sort_by' => 'root,lft' // field name
);

error

An exception has been thrown during the rendering of a template ("[Semantical Error] line 0, col 29 near 'lft FROM FirstAppli\TestBundle\Entity\Menu': Error: 'lft' is not defined.") in "FirstAppliTestBundle:ADMIN:list.html.twig" at line 30.