Since engine version: 1.0 OC
Sorts scoreboard lines by the extra data of a column. If two entries have the same value in this column, no sorting is done. In this way you can sort these entries by additional columns in subsequent calls to this function.
bool SortScoreboard(int coloumn_id, bool reverse);
- ID of the column by which you want to sort.
- [opt] If
true, sorting will be done in descendnig order. Otherwise ascending order.
For an example, see SetScoreboardData.