How to order fields received from a form.

Is there any way via code to set the order of how the fields in the form are submited in order to receive them in an specific order ?