Syntax

SORT(range, sort_column, is_ascending, [sort_column2], [is_ascending2])

Arguments

The printed syntax lists 5 argument(s), in order:

  • range
  • sort_column
  • is_ascending
  • ort_column optional
  • s_ascending optional

“optional” marks an argument Google prints in square brackets; “repeatable” marks one Google prints with “…”.

Description from Google Docs Editors Help

“Sorts the rows of a given array or range by the values in one or more columns.”

Google’s help article for SORT →

Source: Google Docs Editors Help, “Google Sheets function list” (support.google.com/docs/table/25273), record record 75 of 516, data fetched 28 September 2026. Data month: September 2026.