Skip to main content

Sort

Sort items based on a key. Sort node in ActionFlows. Inputs, outputs, and how to use it.

Sort

Overview

Sort items based on a key.

Requirements

Credential Required

This node likely requires an integration credential. Add the related API key/secret from Integrations before execution.

Inputs

Standard Inputs

  • Itemsjson · required

    Array of items to sort

    Required
    Yes
    Multiple
    No
  • Sort Keytext · required

    Property name to sort the items by (use dot notation for nested properties)

    Required
    Yes
    Multiple
    No
  • Sort Orderselect · optional

    Sort order: ascending (asc) or descending (desc)

    Required
    No
    Multiple
    No
    Default
    asc
    Options
    ascdesc
  • Data Typeselect · optional

    Data type of the sort key for proper comparison

    Required
    No
    Multiple
    No
    Default
    string
    Options
    stringnumberdate

Outputs

  • Sorted Itemsjson

    Items sorted by the specified key

  • Sort Key Usedtext

    The key that was used for sorting

  • Sort Order Usedtext

    The order that was used for sorting