[Core] Fixes list sorting.

Due to a bug in doctrine odm (sort info were lost upin wrapping cursors), and the call to Cursor::recreate()
in the DoctrineMongoODMModule-PaginatorAdapter, result lists could not be sorted.