Section 7. Apply the default sorting order
This help article explains how to use eaUtils Apply Default sorting Order feature on the elements that are contained in a package or element.
This feature runs on a package or an element selected from the Project Browser.
Enterprise Architect already lets you reset the elements sorting order with a right click > Contents > Reset Sort Order, however this is only available for a package. Hence this feature makes it possible to run it on a composite element e.g. a use case, class, activity.
The other advantage is to avoid users looking for a way to reset the sorting order when Sparx Enterprise Architect "Reset Sort Order" feature is not known.
Revert to the default sorting order
Select the package or element where the sorting needs to be restored to the default order > Extensions > eaUtils > [Browser] Apply default order.
Confirm you would like to proceed by clicking Yes in the following dialog window:
As a result, the tree position value (TreePos) explained in section 1 of the sorting features, is set to Null for all the elements, as it was when they were created.
The confirmation window below is displayed (click on Close).