ll.ListSort(ListVariable: list, Stride: number, Ascending: number) : list
Returns the specified list, sorted into blocks of stride in ascending order (if Ascending is TRUE, otherwise descending). Note that sort only works if the first entry of each block is the same datatype.
ll.ListSort({}, 13, 9)
{
"def": "func",
"desc": "Returns the specified list, sorted into blocks of stride in ascending order (if Ascending is TRUE, otherwise descending). Note that sort only works if the first entry of each block is the same datatype.",
"energy": 10,
"sleep": 0,
"pure": true,
"link": "https://wiki.secondlife.com/wiki/LlListSort",
"name": "ListSort",
"signatures": [
{
"result": [
{
"name": "",
"def": "result",
"desc": "",
"variadic": false,
"type": [
"list"
],
"optional": false
}
],
"args": [
{
"def": "arg",
"name": "ListVariable",
"desc": "List to sort.",
"type": [
"list"
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "Stride",
"desc": "Stride length.",
"type": [
"integer",
"number"
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "Ascending",
"desc": "Boolean. TRUE = result in ascending order, FALSE = result in descending order.",
"type": [
"integer",
"number"
],
"variadic": false,
"optional": false
}
]
}
]
}