Added support for 'sort' query parameter.
added tests for new query parameter