For automation interface purposes, the Package Item Order property is not an attribute of the Package; however, you can use the ReorderItem function to change the order of a Package's items. The Package Item Order property determines the order in which its items are stored, and therefore the order they are returned through the automation interface.
This property specifies the order in which a Package's items (not including Attributes and Operations) are ordered. The Package Item Order determines in which order the Package's items are listed on the Items tab of the Package's Property Pages.
This property can be of importance when generating code from a Package's items. The order in which a Package's items are ordered determines the order in which those items are generated by ACS.
By default, a new item appears last in the Package Item Order.
This property can be set on the Items tab of the Property Pages for the owning Package. To change the Package Item Order, select an item in the list, and then click the required order button to change the item's position. There are four order buttons:
You can also set the Package Item Order through the Packages and Relationships panes: Right-click the item you want to move, and then click Move Up (Alt+Shift+Up) or Move Down (Alt+Shift+Up). You can only order Package items in this way when the Show Package Items Sorted command on the View menu is not checked.
The following section provides information about the items and diagrams for which Package Item Order is a property. For more information about an item or diagram, click it.