Copy documents from one collection to another

If you want your fields in a certain order, then you need to $project those fields in that order. Currently you have: _id, user, status, old_migrationtime, new_migrationtime. Change that to be _id, new_migrationtime, old_migrationtime, status, user.

As for the last_modified field, not sure how that got into the documents as it’s not part of the aggregate() call you provided.