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

# Create and save a sort

## Sort search results

Sometimes a search brings back the records you need, but they're hard to make sense of because of the way they're ordered. For example, in a search for workers with signed cards, you may be given results ordered by last name, when what you really want to see is workers grouped together by department first, and then by last name.

Broadstripes makes it simple to build custom sorts like this. You can even save and share a sort with other users in your project.

## Create your sort

1. Click the **Sort by** link located just above your search results on the right-hand side of the page.
2. Choose to **Build a new sort...** <img src="https://mintcdn.com/broadstripes/D7SDSdJSKl1YrpjO/images/customize/0da53b0-SaveSortBuildMenu.png?fit=max&auto=format&n=D7SDSdJSKl1YrpjO&q=85&s=feabfc3cc5431432b40cc192dcb6764b" alt="" width="898" height="267" data-path="images/customize/0da53b0-SaveSortBuildMenu.png" />
3. A sort-building tool will open.
4. Using the sort builder, click once on any field to include it in your sort. Each field you choose will be added to the upper portion of the sort builder. We'll choose **Department** for our main sort and then click **Last name** for our secondary sort.

<Frame caption="Single-click on a sort item to include it in your sort.">
  <img src="https://mintcdn.com/broadstripes/ACZHHxrNDCvDimfo/images/customize/d6dbb66-SortBuilder.png?fit=max&auto=format&n=ACZHHxrNDCvDimfo&q=85&s=289faf873eef91c22c3ba93959393ea7" alt="Sort Builder" width="559" height="385" data-path="images/customize/d6dbb66-SortBuilder.png" />
</Frame>

1. Once you've chosen all the fields you want to use in your sort, you can manipulate them to refine your sort.
   * **drag and drop fields** to change the search priority (the field at the top will be sorted first, with each field below acting as a sub-sort)
   * click the **A-Z icon** to toggle between ascending and descending order
2. When your sort meets your needs, give it a **name** and click **Save as new sort.** (If you just want to run the sort once, and don't want to save it, click **Apply sort.**)
3. Clicking either button will **re-sort and display your search results** according to your new sort.

## Modify a sort

1. If you want to make changes to a saved sort, click the **Sort by** link again.
2. Choose to **Modify sort...** and make changes, just like you did when you first created it above.<img src="https://mintcdn.com/broadstripes/ACZHHxrNDCvDimfo/images/customize/db66980-SaveSortModMenu.png?fit=max&auto=format&n=ACZHHxrNDCvDimfo&q=85&s=abf7f9991b05998199382691c1db69e3" alt="" width="895" height="246" data-path="images/customize/db66980-SaveSortModMenu.png" />
3. Once your sort is modified, you can either choose to run the new sort, or save and run it.
   * Click **Apply without saving** to run the sort on your current search results. This will re-sort and display the results, but won't save any of the changes you've made to the sort.
   * Click **Save changes** to overwrite the saved sort with the modifications you've just made.

## Use your saved sorts again with new searches

1. To sort another set of search results using saved sort criteria, start by clicking the **Sort by** link.
2. Your saved sorts will appear in the lower half of the drop-down menu under the words YOUR SAVED SORTS.
3. **Hovering over the name** of any saved sort will open a pop-up box. From this pop-up box you can:
   * see **details about the sort**, including which specific fields are included in the sort as well as details about sort order.
   * click to **edit** or **delete** the saved sort.
   * click to **Share** the sort with other users. Sharing the sort will make it available to them in their own **Sort by** drop-down menu.<img src="https://mintcdn.com/broadstripes/ACZHHxrNDCvDimfo/images/customize/de74499-SaveSortSavedPop.png?fit=max&auto=format&n=ACZHHxrNDCvDimfo&q=85&s=573e18570c0d7cd91607677ca87e02ec" alt="" width="402" height="268" data-path="images/customize/de74499-SaveSortSavedPop.png" />
4. If you want to apply a saved sort to your search results, **click on the name** of the saved sort. This applies the sort and displays your search results using the new sort order.

<Frame caption="Click the name of a saved sort to instantly sort your search results.">
  <img src="https://mintcdn.com/broadstripes/D7SDSdJSKl1YrpjO/images/customize/9ea00c3-SaveSortSavedClickName.png?fit=max&auto=format&n=D7SDSdJSKl1YrpjO&q=85&s=78ac588b9b1fde2ecbb10e8d371061a6" alt="Click the name of a saved sort to instantly sort your search results." width="297" height="233" data-path="images/customize/9ea00c3-SaveSortSavedClickName.png" />
</Frame>

5. Your records are now sorted according to **department** and then by **last name**.<img src="https://mintcdn.com/broadstripes/D7SDSdJSKl1YrpjO/images/customize/3882f43-SaveSortSavedList.png?fit=max&auto=format&n=D7SDSdJSKl1YrpjO&q=85&s=123d0e6366f471b0693f56a8d43c028c" alt="" width="674" height="260" data-path="images/customize/3882f43-SaveSortSavedList.png" />
