Fix the orderBy
Add the test for loopback-datasource-juggler PR-48

https://github.com/strongloop/loopback-datasource-juggler/pull/48