Getdata fix

Implemented `sortOrder` (by default `"DESC"`) and `limit` (by deafult still `100`).

Note that the fix probably only works for `queryRemote(...)` inside `LocalStorage.getInstance(context).query(...)`. Other invocations are not tested!

Regards,

Bart.