Don't quote order columns that are functions 

Currently the order columns are quoted, which causes an error when trying to order results by a function. This quick fix resolves that problem for Postgres.