Sort List

../../../../_images/sort_list.svg
The considered category of nodes includes a number of common list operations,
  • Append
  • Extend
  • Get item

These list operations exist for list of ADAFs, Tables, and Text.

class node_list_operations.SortList[source]

Sort List of items using a Python key function that determines order. For details about how to write the key function see: Key functions.

Inputs:
list
: [<a>]

List to be sorted

Outputs:
list
: [<a>]

Sorted List

Configuration:
sort_function

Python key function that determines order.

Reverse order

Use descending (reverse) order.