libraries/db: actually sort pull_request query results
Merge pull request #16 from behance/sorting

libraries/db: actually sort pull_request query results