Table of Contents

SORT

Category: Transform / Basic


Description

This action sorts the table by one or more columns in ascending or descending order. The order of the columns matters.


Use cases


Action settings

SettingDescription
ColumnsSelect the column to arrange the values of.
Sort orderOptions: Ascending and Descending. This setting determines the order of the sort for the selected column.

Additional columns can be added to the sorting criteria by clicking the Sort by more columns option.


Remarks

Since the values of a column can be of mixed types, the sorting order depends on the value type. For ascending sorting, the order is the following:

In descending order, the sorting order is the reverse.


Examples

Example #1

Arrange the rivers in alphabetical order.

Before (source table)

River Length (km) Continent
Mississippi 6275North America
Amazon 6400South America
Yenisei 5539Asia
Paraná 4880South America

After (result table)

River Length (km) Continent
Amazon 6400South America
Mississippi 6275North America
Paraná 4880South America
Yenisei 5539Asia

Action parameters:

Column: River
Sorting order: Ascending


Example #2

Arrange values in ascending order by Continent, then River.

Before (source table)

River Length (km) Continent
Mississippi 6275North America
Amazon 6400South America
Yenisei 5539Asia
Paraná 4880South America

After (result table)

River Length (km) Continent
Yenisei 5539Asia
Amazon 6400South America
Paraná 4880South America
Mississippi 6275North America

Action parameters:

Column, Sorting order: Continent, ascending
Column, Sorting order: River, ascending


Community examples


Shortcuts

Fast ways to create the action: