1 ×

Column Resorter

StreamableKNIME Base Nodes version 4.0.0.v201906241150 by KNIME AG, Zurich, Switzerland

This node changes the order of the input columns, based on user defined settings. Columns may be shifted in single steps left or right, or completely to the beginning or end of the input table. Furthermore columns may also be sorted based on their name. The re-sorted table is provided at the out port.

Once the node's dialog has been configured, it is possible to connect an new input table with different structure to the node and execute it without the need to configure the dialog again. New and previously unknown columns will be inserted at the position of the column place holder "<any unknown new column>". This place holder can be positioned anywhere like any column.

Options

Sort alphabetical [A-Z, Z-A]
Sorts the elements in alphabetical order ascending (A-Z) or descending (Z-A).
Move one step [Up, Down]
Moves the selected element(s) one up or down. If the top or the bottom of the list is reached, the selected element(s) is/are enqueued on the other end of the table again.
Move first/last
Moves the selected element(s) to the top or at the end of the table.
Reset
Restores the original table structure as in the input table.

Input Ports

Table containing columns to rearrange.

Output Ports

Table with rearranged columns.

Best Friends (Incoming)

Best Friends (Outgoing)

Workflows