API C_FriendList.SortWho

From Wowpedia
Jump to: navigation, search

Sorts the last /who reply received by the client.

C_FriendList.SortWho("sorting")

Arguments

sorting 
string - The column by which you wish to sort the who list:
"name" (default), "level", "class", "zone", "guild", "race"

Triggers events

Details

  • This function changes the mapping between C_FriendList.GetWhoInfo indices and result rows.
  • FrameXML will show the who frame on this event, even if it was not visible before.
  • Calling the same sort twice will reverse the sort.
  • You may sort by guild, race, or zone even if it is not the currently selected second column on the who frame.

Patch changes

  • Battle for Azeroth Patch 8.1.0 (2018-12-11): Moved to C_FriendList. The former alias SortWho is deprecated and will be removed in the following expansion.

See also