Skip to content

SortCustomTableBlock

13.24

Class Documentation

Edit documentation

A block that sorts the values of a custom table in ascending order and makes the table a list. The kind of the first value in walk order selects the sort: int, float, string and vector values can be sorted. The block collects all values in ascending order, clears the table, and appends the values again, so the result has the keys 1 to n. The old keys are lost.

If the first value is of another kind, the block records a script error and does not change the table.

Properties