mongoose sort works only on decending code example
Example: sort mongoose response
Blah.find({}).sort({date: -1}).execFind(function(err,docs){
//code
});
-1 for descending & 1 for ascending
Blah.find({}).sort({date: -1}).execFind(function(err,docs){
//code
});
-1 for descending & 1 for ascending