Remove unused import
Fix typo in 'sort' query parameter handling

Thanks for reporting, @scharf. Fixes #59.