Fixing sort order(and date parsing) issue in mongoquery