adding sort option to query results
adding sort option to query results
Merge branch 'master' of https://github.com/asgpng/COS-iw
added a sorting feature for queries