edwardhotchkiss/mongoose-paginate — pull request #8 by danilodeveloper (2014-01-27 16:19:13+00:00)
Title: Some improvements and fixes

Hey dude!

I'm using your code on my project so I found some issues in the code.

To paginate the code, we need to sort, otherwise the paginated result is randomly.
I fixed the test, now everything is ok.

Cheers :smile: