At the bottom of the Project Explorer, click the Study Information () button.
In the Project Explorer in the InForm folder, select Custom Events.
In the Priority Group column for each custom event, enter a number from 1-999 to indicate the order InForm Publisher should run the custom events in. The lowest number is run first.