Fix DDC-1376
Merge pull request #549 from FabioBatSilva/DDC-1376

[DDC-1376] Support for order by association when using findBy