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

Postgres will throw an error if the order by column is not included in the select