{
  "name": "sort",
  "display_name": "Sort",
  "description": "Change items order",
  "group": [
    "transform"
  ],
  "versions": [
    1.0
  ],
  "inputs": 1,
  "outputs": 1,
  "credentials": [],
  "properties": [
    {
      "name": "type",
      "display_name": "Type",
      "kind": "options",
      "required": false,
      "default": "simple",
      "description": "The type of sorting to perform"
    },
    {
      "name": "sortFieldsUi",
      "display_name": "Fields To Sort By",
      "kind": "fixedCollection",
      "required": true,
      "default": "",
      "description": "The field to sort by"
    },
    {
      "name": "code",
      "display_name": "Code",
      "kind": "string",
      "required": false,
      "default": "// The two items to compare are in the variables a and b\n\t// Access the fields in a.json and b.json\n\t// Return -1 if a should go before b\n\t// Return 1 if b should go before a\n\t// Return 0 if there",
      "description": "Javascript code to determine the order of any two items"
    },
    {
      "name": "options",
      "display_name": "Options",
      "kind": "collection",
      "required": false,
      "description": "Whether to disallow referencing child fields using "
    }
  ],
  "source_path": "/home/mcochran/n8n/packages/nodes-base/nodes/Transform/Sort/Sort.node.ts"
}