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

# Sorts

> Sort contracts to organize your view

## Overview

Sorting helps you organize contracts in the order most useful for your work. Sort by any available field in ascending or descending order.

***

## Adding a Sort

<Steps>
  <Step title="Click Sort">
    Click the **Sort** button in the toolbar.
  </Step>

  <Step title="Select Field">
    Choose a field from the dropdown to sort by.
  </Step>

  <Step title="Choose Direction">
    Select ascending (A-Z, oldest first) or descending (Z-A, newest first).
  </Step>
</Steps>

***

## Available Sort Fields

Sort fields are organized into two categories:

### File Fields

| Field              | Ascending    | Descending   |
| ------------------ | ------------ | ------------ |
| **File Name**      | A to Z       | Z to A       |
| **File Extension** | A to Z       | Z to A       |
| **Created Date**   | Oldest first | Newest first |

### System Fields

| Field                    | Description                    |
| ------------------------ | ------------------------------ |
| **Language**             | Contract language              |
| **Type**                 | Contract classification        |
| **Recording**            | Recording names                |
| **Composition**          | Composition names              |
| **Relation (Name)**      | Related contract names         |
| **Relation (Email)**     | Related party emails           |
| **Entity (Name)**        | Party names                    |
| **Entity (Phone)**       | Party phone numbers            |
| **Accounting Period**    | Accounting period type         |
| **Cross Collateralizes** | Cross-collateralization status |
| **Audit Rights**         | Audit rights status            |
| **Control Type**         | Type of control/rights         |
| **Exclusivity**          | Exclusivity status             |
| **Currency**             | Payment currency               |
| **Recurring Payment**    | Recurring payment type         |
| **Signature (Name)**     | Signatory names                |
| **Signature (Signed)**   | Signature status               |
| **Tags**                 | Applied tags                   |

***

## Sort Directions

| Direction      | Icon | Effect                                   |
| -------------- | ---- | ---------------------------------------- |
| **Ascending**  | ↑    | A-Z for text, oldest to newest for dates |
| **Descending** | ↓    | Z-A for text, newest to oldest for dates |

***

## Default Sort

By default, contracts are sorted by **Created Date** in **descending** order (newest first). This shows your most recently uploaded contracts at the top.

***

## Clearing the Sort

1. Click the **Sort** button
2. Click **Clear** to remove the sort
3. Contracts return to default ordering (newest first)

***

## Combining with Filters

Sorts work together with [filters](/projects/contracts/drive/filters):

1. Apply filters to narrow down contracts
2. Apply a sort to order the filtered results
3. Both settings work independently

***

## Best Practices

<AccordionGroup>
  <Accordion title="Sort by created date for recent contracts">
    Use "Created Date" descending to see your newest uploads first.
  </Accordion>

  <Accordion title="Sort by type for organization">
    Group similar contracts together by sorting on "Type".
  </Accordion>

  <Accordion title="Combine with status filter">
    Filter by "Completed" status, then sort by the field most relevant to your task.
  </Accordion>
</AccordionGroup>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Filters" icon="filter" href="/projects/contracts/drive/filters">
    Filter contracts before sorting.
  </Card>

  <Card title="Views" icon="table-columns" href="/projects/contracts/drive/views">
    Create custom column layouts.
  </Card>
</CardGroup>
