Revert "(rasqal_query_results_sort): Takes just result arg"

This reverts commit 4a8bbb35926c6a27b0a217bbbe6910ca95ef1426.