Sorts the battleground scoreboard. Battleground-specific statistics include flags captured in Warsong Gulch, towers assaulted in Alterac Valley, etc. For the name and icon associated with each statistic, see GetBattlefieldStatInfo().


See also Battlefield functions.

Signature:

SortBattlefieldScoreData("sortType")

Arguments:

  • sortType - Criterion for sorting the scoreboard data (string)
    • class - Sort by character class
    • cp - Sorts by honor points gained
    • damage - Sorts by damage done
    • deaths - Sort by number of deaths
    • healing - Sorts by healing done
    • hk - Sorts by number of honor kills
    • kills - Sort by number of kills
    • name - Sort by participant name
    • stat1 - Battlefield-specific statistic 1
    • stat2 - Battlefield-specific statistic 2
    • stat3 - Battlefield-specific statistic 3
    • stat4 - Battlefield-specific statistic 4
    • stat5 - Battlefield-specific statistic 5
    • stat6 - Battlefield-specific statistic 6
    • stat7 - Battlefield-specific statistic 7
    • team - Sort by team name