Automatically Sort Data in Google Sheets with the SORT Function

Use the SORT function to create a live, automatically updating sorted view of a range so your rows reorder whenever values change.

What the video covers

Create a live sorted output of an existing data range in Google Sheets using the SORT function so the result updates whenever source values change.

Watch the video on YouTube

Step-by-step instructions

  1. Choose output cell
    Click an empty cell where you want the sorted results to appear (this will be the top-left of the sorted output).
  2. Enter the SORT formula
    Type =SORT( and then select the full data range you want sorted.
  3. Specify sort column and order
    After the range, enter a comma, the column number within that range to sort by (1 = first column of the range), another comma, and TRUE for ascending or FALSE for descending.
  4. Close and apply
    Close the parentheses and press Enter. The sheet will display the sorted results starting at the cell you selected.
  5. Verify automatic updates
    Change values in the original data range and confirm the SORT output updates automatically to reflect the new order.

Watch the video

Video thumbnail for Automatically Sort Data in Google Sheets with the SORT Function Play tutorial

Watch on YouTube

Why it matters

Manually running Sort repeatedly is slow and error-prone. The SORT function produces a separate, dynamic view of your data that recalculates automatically as values change.

Check your result

After pressing Enter, the chosen cell and adjacent cells should show the sorted rows. When you change values in the original data range, the sorted output should update immediately.

Troubleshooting

If you see an error or incorrect output: ensure the range you selected covers the same number of columns as expected; do not place the SORT formula inside the source range (it can cause a circular reference or #REF); check the column index you used is within the range's column count; use TRUE for ascending and FALSE for descending.