Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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[]
- WHO_LIST_UPDATE is fired when the list is sorted
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[]
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.[1]