Shapes

Filter and organize records

Sort

Orders records by a field, ascending or descending.

Nodes › LogicOpen in Neblex
Good for
Ranking and ordered output
Role
Works on the records in a flow
Find it in
Nodes › Logic

When to use it

  • A report, file or later step needs records in a specific order.
  • Together with Keep first N, it gives you a top ten.

Reach for something else when

Example

Sort customers by revenue, descending, then keep the first ten for the weekly leaderboard.

  1. Salesforce
  2. Sort
  3. Keep first N

How it works

Settings
Field to sort by; Order: Ascending (A → Z, 0 → 9) [default] or Descending.
Output
The same records, reordered. Numbers (and numeric text) sort numerically; missing and empty values come first when ascending. Records with equal values keep their order.
More in the guide

Add it to a flow

  1. Open the flow from Build › Workflows.
  2. Open Nodes and find Sort under Logic, or search for it. Click it or drag it onto the canvas.
  3. Drag from the previous step's output handle to its input, then open its settings with ✎ Edit.
  4. Run the flow and click the step to see the records it received and produced.