---
title: "Sort option"
slug: "sort-option"
updated: 2025-08-18T08:35:54Z
published: 2025-08-18T08:35:54Z
canonical: "help.quickbase.com/sort-option"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://help.quickbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sort option

**Don't forget to check out our**[**JSON RESTful APIs**](https://developer.quickbase.com/)**, they can help you utilize and extend Quickbase with ease.**

The sort list parameter determines the order in which the returned records are displayed as follows:

`&lt;slist&gt;fid&lt;/slist&gt;`

The following slist parameter sorts all records by the field whose fid is 7.

XML Example:

`&lt;slist&gt;7&lt;/slist&gt;`

You can specify a secondary sort by including another fid in the string (separating each fid with a period)

XML Example:

`&lt;slist&gt;7.12&lt;/slist&gt;`

URL Example:

`&amp;slist=7.12`

If you don’t specify the sort list, the default sort specified on the Report Layout page determines the order in which records are displayed.
