sonata-project/SonataDoctrineORMAdminBundle — pull request #115 by thomas2411 (2012-06-16 12:32:24+00:00)
Title: Corrected Issue #114. Sort order doesn't change when clicked

Sort order doesn't change when clicked in List table header.
In getSortParameters() function object of type FieldDescription was compared to string. So this never checked.
```
if ($fieldDescription->getName() == $values['_sort_by']) {
```
instead of
```
if ($fieldDescription->getName() == $values['_sort_by']->getName()) {
```