Skip to main content

What It Does

  • Sorts rows in your table based on a single selected column
  • Supports text, number, and date columns
  • Keeps your original structure and column names
  • No columns are added, removed, or renamed
  • Cleanly reorders your dataset for downstream logic
🔄 Whether you’re teeing up your next filter or sequencing actions, this node helps you get your priorities straight.

🏁 Getting Started

Sort Rows node configuration
1

Add the Node

Drag the Sort Rows node into your canvas and connect your data.
2

Choose a Column to Sort

Select a column from the dropdown—like lead_score, created_at, or region.
3

Select Sort Order

Choose Ascending (A→Z, 0→9) or Descending (Z→A, 9→0).
4

Run the Node

The output will be your same dataset, neatly reordered based on your choice.

Inputs

🛠️ Required Fields

  • Column to Sort (✅)
    Choose one column to sort by.
    Why it matters: This determines how your rows are ordered for next steps like filtering or ranking.
  • Sort Order (✅)
    Choose Ascending or Descending.
    Why it matters: Controls whether high-priority leads rise to the top — or you surface older records first.

Output

Returns a sorted version of your input dataset:
  • All rows and columns are preserved
  • The table is reordered based on your selected column and direction
  • No new columns (like sort_index) are added
Sort Rows output screenshot

🚀 Example Use Cases

ScenarioSetup Example
Prioritize high-intent leadsSort by lead_score (descending)
Display oldest activity firstSort by last_seen_at (ascending)
Group data alphabeticallySort by company_name (ascending)
Prep for deduplication or mergeSort by created_at or row_number

✨ Pro Tips

Use this node right before filtering to get top-N records, or to prepare clean groupings.
Need multi-level sorting? Chain multiple Sort nodes—each handles one level.
Sorting is stable: rows with equal values will maintain their relative position.

⚠️ Important Considerations

Only one column can be sorted per node. For multi-level sorts, stack Sort nodes in order.
Column must be selected from the dropdown. If upstream structure changes, you’ll get a UI error to reselect.

🛠 Troubleshooting

IssueCauseFix
Output looks unsortedSort direction may be incorrectTry toggling between ascending/descending
“Column not found” errorColumn changed upstreamReselect column from dropdown
Sort didn’t applyColumn not selectedMake sure both fields are set before run

📝 FAQ

Nope. It simply reorders rows—no columns are added, dropped, or renamed.
Use multiple Sort nodes if you need multi-column sorting (e.g. region then score).
The UI will block the run until all required fields are filled.

💰 Pricing

The Sort Rows node is free — no credits required.

Clean order, clean play. Sort rows to spotlight what matters — and route with intent.