Fix ODM Sorting

I noticed that the sorting was not working properly, this fixes the problem.

http://docs.doctrine-project.org/projects/doctrine-mongodb-odm/en/latest/reference/query-builder-api.html#sorting-results