Sorting compartment items by name

In UML visualization, you can sort compartment items by their names in ascending or descending alphabetical order.

You can filter compartment items only when a compartment has several items that can be sorted alphabetically.

To sort compartment items by name:

  1. In the diagram editor, right-click a shape; then click Filters > Sort/Filter Compartment Items.

  2. In the Sort/Filter Compartment Items window, click a compartment.

  3. In the table, click the Name column heading and click Apply.

  4. Click OK.

 

Parent topic

Filtering and sorting compartment items

 

Related concepts

Class shapes
Visibility

 

Related tasks

Filtering compartment items by visibility
Filtering compartment items by selection
Filtering compartment items by visibility and selection
Sorting compartment items by visibility
Sorting compartment items by visibility while filtering by selection
Sorting attributes by type
Sorting operations by return type