Skip to content

Sort

Node: sort · Full type: n8n-nodes-base.sort · Version: 1

Parameters

Parameter Type Default Details
type options "simple" simple, random, code
sortFieldsUi fixedCollection {} groups: sortField
code string "// The two items to compare are in th..."
options collection {} keys: disableDotNotation

sortFieldsUi children:

sortField group:

Parameter Type Default Details
fieldName string "" required
order options "ascending" ascending, descending

options children:

Parameter Type Default Details
disableDotNotation boolean false

Example

NODE "sort" AS "Sort"