Fix sorting query parameter.

Now it should work (TM)
Merge pull request #56 from nierob/fixSorting

Fix sorting query parameter.