# AscendingSort

Specifies a map element to be sorted in ascending order in a loop.

This function can only be used in the Sort Keys argument of a loop expression.

## Related examples

* [Sorting loop elements](https://help.qlik.com/talend/en-US/data-mapper-functions-reference-guide/8.0-R2024-04-and-earlier/sorting-loop-elements "Use a SimpleLoop function with an AscendingSort function to sort elements in a loop based on their value.")

## Arguments

| Variable arguments | Add the map elements that you want to use to sort the<br>loop. |
| --- | --- |