Adding ability to sort data in the requests

Please commit an ability to specify sort data in the query