1.7.26

List

Sort List

Sort a list of numeric keys with optional synchronous values.

ID

list-list-sort-list

Name

Sort List

Group

List

Package

List

Keywords

sort
list
keys
values

List

Sequence

Set

Tree

Creation method

There are two options for creating a Sort List node.

  • The first way to create a Sort List node using the search list, which is opened by double left-clicking in the workspace. You can write the name of the node you need, or words associated with this node.
    • sort, list , index , values, keys
  • The second way is to select a Sort List node from the menu that opens from the top left.
    • Menu > List > List > Sort List

Steps

  • Create a Sort List node.
  • Connect the list of keys to the Keys port.
  • Optionally connect a list of values to the Values port.

After creating the node, connect the primary list (keys) that should define the sort order to the first port. Optionally, you can connect a second list (values) to the second port. The node will sort the keys in ascending order and apply the same ordering to the values list if it's connected.

See also

Number List Sort
List Item
Trim List

Inputs

NameTypeDescriptionDefault Value
Keys
Number
List of sortable keys (e.g., numbers)
Values
Any
Optional list of values to sort synchronously with keys

Outputs

NameTypeDescription
Keys
Number
Sorted keys
Values
Any
Synchronous values sorted by keys