Data · 3 steps

Sort the table

Reorder the table’s rows by one or more columns, so every later analysis, export and save sees the new order.

Step by step

  1. Open Sort

    Click Data in the menu bar; under Tools choose Sort…. A column’s right-click menu has Sort the table permanently… too.

    Sort the table
  2. Choose the order

    In Sort by, choose a column, Ascending (A to Z, small to large) or Descending (Z to A, large to small), and where Missing values go (last or first). Add level adds a Then by column, which sorts rows that tie on the first column. Match case makes capitals sort before small letters.

  3. Sort

    Check the first rows after sorting and press Sort the table. Excluded, hidden and labeled rows keep their marks. Ctrl+Z undoes it.

What you should see

The rows in the new order. The ⇅ button on a column header only changes the view; Sort changes the table.

Common problems

A time series runs in the wrong order.

Sort the table by its date column before a line chart or a forecast that reads rows in order.

Ask Oobi

Type one of these into Ask Oobi beside your data:

  • How do I sort my table by date?

Last reviewed November 16, 2026.

Report an unclear step