LearnBoost/mongoose — pull request #1609 by ebensing (2013-08-01 20:21:32+00:00)
Title: toConstructor() working & sort fixes

Unfortunately, my work on fixing sort kinda got mixed up in this since it only came up because of the `toConstructor()` method.

Those changes can be summed up as "now storing sort information in an object instead of an array"

The to constructor stuff works just like it does in mquery.