In most cases, it is possible to change the orders of the authorship in the proof. But it depends on the specific rules of each journal. For example, in some cases, this may need the agreement of all the authors.
My suggestion is that you can just change the orders in the proof, and they will notify you if that is not allowed.
Changes to authorship
This policy concerns the addition, deletion, or rearrangement of author names in the authorship of accepted manuscripts:
Before the accepted manuscript is published in an online issue: Requests to add or remove an author, or to rearrange the author names, must be sent to the Journal Manager from the corresponding author of the accepted manuscript and must include: (a) the reason the name should be added or removed, or the author names rearranged and (b) written confirmation (e-mail, fax, letter) from all authors that they agree with the addition, removal or rearrangement. In the case of addition or removal of authors, this includes confirmation from the author being added or removed. Requests that are not sent by the corresponding author will be forwarded by the Journal Manager to the corresponding author, who must follow the procedure as described above. Note that: (1) Journal Managers will inform the Journal Editors of any such requests and (2) publication of the accepted manuscript in an online issue is suspended until authorship has been agreed.