# Acción de regla: ordina elenco

Se utiliza para: ordenar una lista de números o letras/palabras (alfabéticamente).

Se usa en: sentencias "THEN" y sentencias "ELSE".

El nombre de la regla lo explica por sí mismo: si tienes un campo que contiene una lista, esta regla la ordenará por ti. Puedes ordenar de forma ascendente \[a-z o 0-9] o descendente \[z-a o 9-0].

![channable\_rules\_what-does-each-rule-do-rule-sort-list-0.png](/files/fa9abec3f1ba71aa842ed00dba9338ce45a3b91f)

El resultado de ambas formas de ordenación se muestra a continuación:

![channable\_rules\_what-does-each-rule-do-rule-sort-list-1.png](/files/7dd3c5755755089698f4ad915579015af3fcd164)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helpcenter.channable.com/manage-improve-product-data/manage-product-and-improve-data-es/reglas-edicion-masiva-y-enriquecimiento/como-utilizar-acciones-allora-en-las-reglas/accion-de-regla-ordina-elenco.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
