---
title: "Boolean Sort"
canonical: "https://support.appfire.com/space/REPS/472914726/Boolean%20Sort"
format: markdown
---
> Macro (aura-html)

## Description

This will sort the results by the specified boolean key value.

Previews will not show sorted data

For performance reasons, sorting macros are not executed in **Preview** mode. This means the macro content could be different when the page is published.

## Parameters

| Name | Required | Migratable to Cloud? | Default Value | Description |
| --- | --- | --- | --- | --- |
| [default] /key | - (/) | - NO |  | The key chain value to sort using. |
| order | - (X) | - NO | ascending | May be **ascending** or **descending.** |

## Editor View

![image](media://3d0ea697-9841-4464-8589-d625f2339cb7)



## Macro Edit View

- Not applicable.

## Notes

- Not applicable.