---
sourceDocument: Brazil ServiceNow AI Platform Administration
sourceDocumentLink: https://www.servicenow.com/docs/r/platform-administration

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Sort Option form

# Sort Option form {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Sort Option form

The Sort Option form in the AI Search application configuration allows ServiceNow customers to create custom sorting options for search results.
This enables users to organize search outputs based on specific data fields, improving the relevance and usability of search results within the AI Search application.
Show full answer Show less  

## Key Features

* **Label:** Defines the display name for the sort option within the search application's sort menu, helping users identify the sorting criteria.
* **Sort Field:** Specifies the field used to sort search results. It supports fields from source tables or common AI Search index fields, such as dates, numbers, or strings. Proper field formatting is required to avoid errors.
* **Qualified Field Names:** Supports qualified fields in the format \[indexedsourcetablename\].\[fieldname\], enabling sorting based on specific table fields. The parent search profile must include the related indexed source table.
* **Unqualified Field Names:** Allows sorting by common AI Search index fields without table qualifiers, such as "title" or "language."
* **Special Cases for Hierarchical Tables:** Supports sorting on parent table fields, which includes values from child tables, and sorting on child table-specific fields by specifying the parent table's name as the qualifier.
* **Application Scope:** Automatically set to the relevant application scope for the sort option.
* **Sort Order:** Option to choose ascending (a to z) or descending (z to a) order for displaying search results.
* **Activation:** Ability to activate or deactivate the sort option for use within the search application.

## Practical Use and Considerations

By configuring sort options correctly, ServiceNow customers can tailor how search results are presented, enhancing search efficiency and user experience. It is important to ensure that the specified sort fields are supported and that the parent application configuration includes the necessary indexed sources. Misconfiguration leads to save errors, so following the specified field formats and table relationships is critical.  
The Sort Option form enables you to create a search result sort option in the search application configuration for an AI Search application.
For details on creating or editing search result sort options, see [Search result sort options in AI Search application configurations](https://www.servicenow.com/docs/xkBUpil6Qo6EzjdOGWHzPQ#sort-options-srch-app-cfg-ais "A search result sort option enables users to display search results in an order determined by their field values. Applying a search result sort option overrides the default AI Search relevancy-based result order. You can define custom search result sort options for your AI Search applications.").  
{#sort-option-form-ais__table_f2c_t4r_grb__entry__2}

| Field | Description |
|-|-|
| Label | Label displayed for the search result sort option in the search application's sort menu. |
| Sort Field | Name of a source table field or common index field that the sort option uses to sort search results. The sort field can be a date, number, or string field. Note: If you specify a sort field of an unsupported type, an error message appears when you attempt to save the sort option. Supports the following formats: Qualified <kbd class="ph userinput">[indexed_source_table_name].[field_name]</kbd> entry :   Sort search results on their values from the specified table's field. For example, enter <kbd class="ph userinput">kb_knowledge.author</kbd> to sort search results by their Author field values. Note: The parent search application configuration's linked search profile must include a search source derived from the specified indexed source table. If this condition isn't met, an error message appears when you attempt to save the sort option. Unqualified common index field name :   Sort search results on their values from the specified common AI Search index field. For example, enter <kbd class="ph userinput">title</kbd> to sort search results based on their titles, or <kbd class="ph userinput">language</kbd> to sort search results based on their language. The <kbd class="ph userinput">[indexed_source_table_name]</kbd> qualifier must be the name of a table specified in an indexed source. Don't specify indexed source child table names for this qualifier. Special cases include: Sorting on parent table fields :   If you specify an indexed source parent table's field in a sort option, AI Search includes values from the same field on child tables from the indexed source. For example, suppose you create an indexed source for custom table Parent \[u_parent\] which is extended by custom table Child \[u_child\], and then specify <kbd class="ph userinput">u_parent.author</kbd> as the field for a sort option. When a user applies the sort option, AI Search uses both u_parent.author and u_child.author field values to sort the search result list. Sorting on child table fields :   You can specify a field that's unique to an indexed source's child table as a sort option field. Continuing the previous example, if your Child \[u_child\] table includes an Editor field that's not present on the Parent \[u_parent\] table, you can define <kbd class="ph userinput">u_parent.editor</kbd> as a sort option field to sort search result s using this field's values. Note: Be sure to specify the parent table's name as the qualifier, not the child table's name. |
| Application | Application scope for the search result sort option. This field is automatically set. |
| Ascending | Option to make the search result sort option display results in ascending order (a to z). Clear this option to make the search result sort option display results in descending order (z to a). |
| Active | Option to activate the search result sort option for use in the search application. |
[Table 1. Sort Option form]

{#sort-option-form-ais__table_f2c_t4r_grb}

