Fixing indexing order to mongodb