Ordering Stored ProceduresProcedures are added to the SQL script in the same order as they appear in the Object Browser.
In some cases, you must re-order stored procedures. This is the case, when for example procedure A uses procedure B, procedure B must be created before procedure A will be created.
You can re-order procedures in the Procedures dialog (File | Procedures).
The value if the Pos (Position) property defines the procedure's position. You can change this value in the grid with procedures.
See also: How do I move an attribute in the list of attributes?