You can sort attributes in Unified Modeling Language (UML) data
diagrams by their types in ascending or descending alphabetical order.
You can sort attributes only when an attribute compartment has several
items that can be sorted alphabetically.
To sort attributes by type:
- Right-click a shape.
- Click .
- In the Sort/Filter Compartment Items window,
expand All Compartments and click Attribute.
- In the table, click the Type column heading
and Click Apply.
- Click OK.