Part of StarfallEx namespace
๐ External
table.sort(tbl, sorter)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Sorts a table either ascending or by the given sort function
Parameters
| Name | Type | Description |
|---|---|---|
tbl | table | The table to sort |
sorter? | function | If specified, the function will be called with 2 parameters each. Return true in this function if you want the first parameter to come first in the sorted array |
Returns
No return values documented.
Examples
No examples available.
Used In
No usages found in the codebase.