State tax filing

Do your non-resident state return first.

Then take the credit for taxes payed to other jurisdictions on your resident state tax return