Ayuda de LibreOffice 24.8
Ordena el contenido de un intervalo o una matriz.
Introduzca la fórmula como matricial.
SORT(Range [; SortIndex [; SortOrder [; ByCol] ] ])
Intervalo: el intervalo o la matriz que se debe ordenar.
SortIndex: (optional). The number indicating the row or column to sort by.
SortOrder: (optional). A number indicating the desired sort order; 1 for ascending order (default), -1 for descending order.
ByCol: (optional). A logical value indicating the desired sort direction; FALSE to sort by row (default), TRUE to sort by column.
{=SORT(A2:C6,2,1)}
Sort the range A2:C6 based on the second column in ascending order (Sales).
| libro | 17 | 180 | 
| lápiz | 20 | 65 | 
| cuaderno | 20 | 190 | 
| bolígrafo | 35 | 85 | 
| estuche | not | not | 
{=SORT(A2:C6,3,-1)}
Sort the range A2:C6 based on the third column in descending order (Revenue).
| estuche | not | not | 
| cuaderno | 20 | 190 | 
| libro | 17 | 180 | 
| bolígrafo | 35 | 85 | 
| lápiz | 20 | 65 | 
COM.MICROSOFT.SORT