mongoid/origin — Issue #27: Add Sorting Options
Author: durran
Created: 2012-02-19 11:47:24+00:00
State: open
Labels: feature

Add options for sorting:

```ruby
Model.asc(:field)
Model.ascending(:field)
Model.desc(:field)
Model.descending(:field)
Model.order_by("field asc, other desc")
Model.order_by(:field.asc, :other.desc)
Model.order_by(field: :asc, other: :desc)
```