---
title: "Sorting with Native Table Enhancer [Beta] macro"
canonical: "https://support.appfire.com/space/TBL/3551428609/Sorting%20with%20Native%20Table%20Enhancer%20%5BBeta%5D%20macro"
format: markdown
---
> Macro (aura-html)

The Native Table Enhancer macro enables you to sort column values on the Confluence page and organize table data efficiently.

- The macro enables the sort feature by default when you insert it.
- The macro saves the sort configuration set in macro setup mode as the default.
- When sorting is enabled, you can sort columns in Confluence page view mode without edit permissions.

> ⚠️ The Native Table Enhancer macro is currently in beta. <u>[Learn more](https://appfire.atlassian.net/wiki/spaces/TBL/pages/3520037211)</u>.

## Using sort in the Native Table Enhancer macro

> Macro (refined-tabs)
> 
> > Macro (refined-tab)
> 
> > 📝 You need edit permissions to access the setup mode.
> 
> - Edit the macro to open the setup mode. Refer to <u>[Set up the Native Table Enhancer macro features](https://appfire.atlassian.net/wiki/spaces/TBL/pages/3568173057)</u>.
> - The macro enables the sort feature by default.
> - To disable sorting, click the Sort icon ().
> - Click **Save**.
> 
> > Macro (refined-tab)
> 
> - To sort a column, click its column header. The macro sorts the column and displays the sort icon.
>   - You can click the specific column header to switch between ascending and descending order.
>     - Ascending order ( ): Sorts column values from lowest to highest (A–Z or 0–9).
>     - Descending order ( ): Sorts column values from highest to lowest (Z–A or 9–0)
> - The table rows reorder based on the sorted column. For example, the **Category** column is sorted in ascending order.
> - Click **Save**. The macro saves the sort configuration set in macro setup mode as the default for each Confluence page refresh.
> 
> > 📝 If you disable the sort feature in macro setup mode, it becomes unavailable in the Confluence page view mode.
> 
> > Macro (refined-tab)
> 
> - Once sort is enabled, you can sort the columns in Confluence page view mode and full-screen mode.
> - For example, in the page view mode, the **Category column** is sorted in descending order.