SortScoreboard

Category: Interface
Since engine version: 4.9.6.0 CR

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 iColID, bool fReverse);

Parameters

iColID:
ID of the column by which you want to sort.
fReverse:
[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, Februar 2006