CODE: added orderBy option to getData resource

- funcionality
- test