Inside Dynamic Sort expression of an aggregate, have the possibility to choose the table and field (in existing aggregate) and the option Ascending or Descending, depending on the logic.
Example:
Inside Dynamic Sort expression of an aggregate, have the possibility to choose the table and field (in existing aggregate) and the option Ascending or Descending, depending on the logic.
Example: