Implemented sorting abilities
Added tests for the sorting related methods
Merge pull request #45 from sonata-project/dev-sorting

Implemented sorting abilities