Skip to main content
Version: Next

Sort List With Transformer

Sorts a list of object according to the result of transformer function

Description

Generate a new list containing the elements of the provided list sorted by the result of a lambda function.

The transformer function takes one arguments and should return a primitive value we can sort the list on.

Inputs

  • Control Flow (Control Flow)
  • List (List): Array, List or QueryResult
  • Transformator (Transformer): The values got from the items that we want to sort on
  • Ascending (Boolean): Direction of the sort

Outputs

  • Control Flow (Control Flow)
  • Sorted List (List): The resulting list