jruby/activerecord-jdbc-adapter — pull request #549 by iaddict (2014-03-25 10:21:50+00:00)
Title: Fix ordering on an aggregate in MSSQL

Ensure that an order clause which contains aggregate functions does not get manipulated.
This should fix jruby/activerecord-jdbc-adapter#532