added a test for MongoDB engine's sort option