Sort Function

Simran Mehndiratta
Simran Mehndiratta
  • Updated

Function Name:

Sort

Purpose:

Sort can be used to sort elements of a given list in ascending order. It is based on the underlying core Java java.lang.Comparable interface.

The function should be connected to a node that passes in a List/Array of values.

Configuration:

1. Enter a Display label for the node. This will be helpful with identifying the node when viewing your Entity Pipeline.

2. Enter a Description that will explain what the function is configured to do.

3. Add the input Value that needs to be processed by the function. This attribute is only available while configuring this function in an Entity Pipeline. 

Example:

Input List,

[2,1,4,3]

Output,

[1,2,3,4]

Share this

Was this article helpful?

0 out of 0 found this helpful