I am learning to use MongoDB and NodeJS.
While working, I was wondering if it matters the order of the fields when creating / inserting a new document within a collection.
I leave an image to see what I mean, in it you can see how to create a new document manually, the fields are created in the following order: id, name, age. But when inserting a new document using a post method (express, nodejs, form) the fields are created in the following order: id, age, name.
The questions are: Does the order of the fields matter or is it indifferent? For example, it occurs to me to want to perform an iteration (or some other operation), that would result in a problem, right? If so, then, how do I correct my code so that the document is created correctly?