Added redering of mongo operations