Ordering sequence is now correct when chaining multiple order methods in Rails 4.0
stable branch.

Fixes #276.

Example:

    Article.order {id.asc}.order {title.desc}.to_sql
    # => SELECT "articles".* FROM "articles" ORDER BY "articles".id ASC,
    #    "articles".title DESC
Merge pull request #328 from activerecord-hackery/order_sequence_in_rails40

Ordering sequence is now correct when chaining multiple order methods in Rails 4.0 stable branch