Block Group: | Table Operations |
Icon: |
The Sort block returns a new table that reorders the input table’s rows.
For information on using dataflow blocks, see Dataflow.
For answers to some common questions about working with tables, see Tables.
The following properties of the Sort block can take input and give output.
input receives the table that you want to sort.
column specifies the name of the table column to sort by.
method specifies whether to sort values as strings (alphabetically) or as numbers.
order specifies whether to sort values in ascending or descending order.
The following property of the Sort block can give output but cannot take input.
output returns the sorted table.
The following image shows an example of the Sort block. In this example, the Sort block reorders the table rows in ascending order based on the Room_Temp column.