Sort elements

Sort elements

By default, elements in a table are sorted on ID. You can influence the order of elements presented in a table by sorting on a property. For example, if you apply sorting on a property with the data type ‘Date’ to order elements in a table on recent date, the elements will be presented in chronological order.

Apply sorting to a property of an element in a table

  1. In a table, in the model row, hover the mouse over the column presenting a property.
  2. In the table, in the model row, in the column, click on Sort. As a result, the elements are sorted ascending based on the values in the column the sorting was applied to.
  3. In the table, in the model row, in the column, click a second time on Sort to change the order of the sorting to descending. Click a third time on  Sort to remove the sorting for the corresponding property.

Note:

  • When you apply sorting on a property with the data type ‘Option’ with Custom order, the Elements are sorted based on the order of the values in the corresponding list.

Apply sorting to a relation of an element in a table

In addition to sorting based on the properties of the element itself, it is also possible to sort based on the properties of related elements. The cardinality of the type relation determines the extent to which sorting affects the elements further up.

Sorting by a single relation also changes the order of the elements above. While sorting across a multi relation only sorts the elements related to a specific element, but leaves the sorting of the elements above it unchanged.