Sorting operations by return type

You can sort operations by their return types in ascending or descending alphabetical order.

You can sort operations only when an operation compartment has several items that can be sorted alphabetically.
To sort operations by return type:
  1. In the diagram editor, right-click a shape; then click Filters > Sort/Filter Compartment Items.
  2. In the Sort/Filter Compartment Items window, expand All Compartments and click Operation.
  3. In the table, click the Return Type column heading and click Apply.
  4. Click OK.
Related concepts
UML shapes
Classes
Visibility attributes in UML diagrams
Related tasks
Sorting compartment items by visibility
Sorting compartment items by visibility while filtering by selection
Sorting compartment items by name
Sorting attributes by type
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.