add reorder to the completer queries to avoid the postgres error.
Postgress will throw an error if the select statement does not include the order column
Merge pull request #86 from abenari/postgres_reorder

add reorder to the completer queries to avoid the postgres error.