> For the complete documentation index, see [llms.txt](https://help.security.gallagher.com/knowledge-hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.security.gallagher.com/knowledge-hub/configuration-client/introduction-to-command-centre/knowing-your-way-around/list-windows/grid-view/sorting-the-information.md).

# Sorting the information

### Introduction

You can sort the information displayed within Grid View windows.

### Procedure

1. Click on the Column Header corresponding to the information that you want to sort.

   The arrow indicating the sort order displays in the column header pointing upwards ![AGforRAT](https://3000903572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfCvaxj3suxNBzdwQndVT%2Fuploads%2Fgit-blob-1915da07ac22b09b861dd37302a8e5ce94e50e67%2Fcolumnheader.png?alt=media)

   This means that for:

   **Name fields** - the displayed names will be sorted alphabetically - A to Z.

   **Date fields** - the dates will be sorted chronologically - oldest to newest.

   ![](https://3000903572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfCvaxj3suxNBzdwQndVT%2Fuploads%2Fgit-blob-8bdb0e32d37b91d577d26b067a1921962562651f%2Fch_main.png?alt=media)
2. Click on the Column Header again to reverse the sorting order.

   The sort arrow now displays pointing downwards.

   This means that for:

   **Name fields** - the displayed names will be sorted Z to A

   **Date fields** - the dates will be sorted newest to oldest.

   ![](https://3000903572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfCvaxj3suxNBzdwQndVT%2Fuploads%2Fgit-blob-33d4653c33c8d5507db75f3ec556a58fcdae92a6%2Fgridsort.png?alt=media)

### Hint

{% hint style="info" %}
By default, only one column has a sort applied initially, (i.e. by **Name** ), however Grid View windows can be sorted by up to four columns at once.

Secondary, tertiary and quaternary sorting is based on the previous sort applied in each case, (e.g. the primary sort is by **Name**, which is then changed to **Description**, so **Name** becomes the secondary sort. The sort is then changed to **Type**, so **Name** becomes the tertiary sort and **Description** the secondary sort).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.security.gallagher.com/knowledge-hub/configuration-client/introduction-to-command-centre/knowing-your-way-around/list-windows/grid-view/sorting-the-information.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
