> For the complete documentation index, see [llms.txt](https://astro-rpa.gitbook.io/astro-rpa-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://astro-rpa.gitbook.io/astro-rpa-user-guide/g_elements/el_basic/els_excel/el_excel_sortrange.md).

# Sort range

![](https://1755238209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNnEkyZmLMSWTDXxpygbG%2Fuploads%2Fgit-blob-16fe17ef234f0a75f66653bd0d591d691075f801%2Fimage%20\(111\).png?alt=media)

Element that sorts Excel cell range

![](https://1755238209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNnEkyZmLMSWTDXxpygbG%2Fuploads%2Fgit-blob-a3eb26052ffd048cea9f39ef9799b37165393b9d%2FExcel_sort_range.png?alt=media)

Properties

* Range\*: \[String] Cell range (A1:D12). If not specified whole range will be sorted
* Sheet name: \[String] Sheet name
* Sheet index: \[Int32] Sheet index
* Order\*: Sort direction
