Description
This formula sorts a list of values.
Formula(s)
PHP
{=SORTBYLIST([List];[Sort list];Sort direction;Sort type)}
Result
-
Array
Parameters
Parameter
|
Content
|
Format
|
Default value
|
Explanation
|
|---|---|---|---|---|
|
List |
Array to be sorted |
Array |
|
|
|
Sort list |
|
Array |
|
|
|
Sort direction |
Ascending or descending |
Integer |
SORT_ORDER_ASC |
Possible values:
|
|
Sort type |
Natural, alphanumeric, numeric |
Integer |
SORT_TYPE_NATURAL |
Possible values:
|