You can define the order of the generation of stored procedures by using traceability links with a type of DBCreateAfter. The procedure from which you start the traceability link is dependent on the procedure you link it to, and this influent procedure will be generated before the dependent procedure.
For example, a publisher may decide to sell certain books at a reduced rate (15%) when a customer's order is above 10 000$. The GENERAL CHECK stored procedure verifies orders globally by checking availability, the order amount, if a discount rate is required, and so on. This procedure calls the DISCOUNT CALC procedure to calculate the 15% discount rate. Consequently, DISCOUNT CALC must be generated before GENERAL CHECK, and you can enforce this by creating a traceability link of type DBCreateAfter from GENERAL CHECK to DISCOUNT CALC.