SortScoreboard

Category: Interface
Since engine version: 1.0 OC

Description

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.

Syntax

bool SortScoreboard(int coloumn_id, bool reverse);

Parameters

coloumn_id:
ID of the column by which you want to sort.
reverse:
[opt] If true, sorting will be done in descendnig order. Otherwise ascending order.

Example

For an example, see SetScoreboardData.
See also: DoScoreboardShow, ScoreboardCol, SetScoreboardData
Sven2, 2006-02