sequelize/sequelize — pull request #783 by seth-admittedly (2013-07-23 18:56:08+00:00)
Title: 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.