If you open the model explorer for your model, and navigate to the Stateflow chart, you should see all of your inputs and outputs listed:
If you then click on one of the outputs, you should have an option to change which port it is for:
Changing this should change the order.