You are not required to have the names in the same order, but for simplicity of processing the return, I would suggest that you do so.
Either way, the 2018 AGI would be the same.
There are a few places you can get your 2018 AGI:
The IRS requires your 2018 AGI to verify your identity for e-filing. If you're paper-filing your return, you won't need your AGI because those are manually processed.
You are not required to have the names in the same order, but for simplicity of processing the return, I would suggest that you do so.
Either way, the 2018 AGI would be the same.
There are a few places you can get your 2018 AGI:
The IRS requires your 2018 AGI to verify your identity for e-filing. If you're paper-filing your return, you won't need your AGI because those are manually processed.