Query Builder > Sort

Sort your SQL Data

Draxlr lets you easily sort your data by one or more columns, directly from the Explore interface.

How to Use the Sort Feature?

  1. Open the Sort Modal

    • Click on the Sort section in the left sidebar.
    • The "Add Sort" dialog will open, allowing you to define sorting rules.
  2. Add Sort Rules

    • For each rule, select:
      • Table: Choose the table you want to sort (e.g., orders).
      • Column: Pick the column to sort by (e.g., order_date, ship_country).
      • Order: Select Ascending (A–Z, 0–9, Oldest First) or Descending (Z–A, 9–0, Newest First).
    • Add multiple sort rules to define primary, secondary, or more complex sorting.
    • Click the "+" button to add another sort rule.
  3. Remove Sort Rules

    • To remove a rule, click the "–" button next to it.
  4. Execute Sorting

    • Once you’re ready, click Execute.
    • The data table will update with your chosen sorting applied.

Tips

  • Multi-Level Sorts: Add multiple rules for deeper sorting control.
  • Edit or Remove Rules: Change or delete sort rules any time.
  • See Results Instantly: Data refreshes right after sorting.