Use default context sort order when returning autocomplete

Fixes #1403
Merge pull request #172 from zoombody/bug/1403-autocomplete-pg-error

Use default context sort order when returning autocomplete