Since this simple action does not come with version 11 and it's not yet present on the Forge, here it goes.
Created based on How to use dynamic sorting in a Table fed by a SQL query : https://success.outsystems.com/Documentation/How-to_Guides/Development/How_to_use_dynamic_sorting_in_a_Table_fed_by_a_SQL_query