sonata-project/SonataDoctrineORMAdminBundle — pull request #87 by EmmanuelVella (2012-05-15 15:27:12+00:00)
Title: Use addOrderBy instead of orderBy in ProxyQuery

This update allows to add a priority sort order, like this :

```
public function createQuery($context = 'list')
{
$query = parent::createQuery($context);

if ('list' === $context) {
$query->orderBy('c.myField');
}

return $query;
}
```

What do you think ?