It is possible to do it using a script, yes. I've developed a (paid-for) tool that allows you to export a list of all field names, then adjust their order to the desired calculation order and re-import that list to the PDF. You can find it here: https://try67.blogspot.com/2010/07/acrobat-automatically-set-field.html
A trick if you want to move one field from the bottom to the top is to select the rest of the fields and move them all down, instead of moving that one field up multiple times.
Is there a better way? Yes... don't.