Count embedded relations
Sort by alone fields of by embedded fields
Ensure an embedded object within an embedded object can be sorted
Merge pull request #72 from daniel-g/master

Fix sorting embedded objects and single fields.