FEATURE CL-6019: added orderBy option to getData resource

- funcionality
- test