Form fields order

Form fields order

I have a form with dinamic input fields. It means that a user can add any amount of input fields. On the server I use PHP. I need fields to be sent in appropriate order (DOM order). Form is submited via AJAX.

This is an example of fields of a form:
  1. <input type="text" name="guest[]" value="" />
  2. <input type="text" name="guest[]" value="" />
When a user submit the form I use .serializeArray() and pass the result of it to $.ajax().

Is it guarantee that the server will always get fields in DOM order?