Garry's Mod Wiki
Example
Sorting table by an integer
Output: Table going from highest number to lowest (1: Peter, 2: Shay, 3: Jeff, 4: Janine)
Example
Sorting a player table by a NWInt
Output: Player table sorted by score going from highest to lowest
Example
Sort the table by string keys. We cannot sort non-numeric keys in ages
, because they are contained in a hash part whose order is undefined.
Output: Janine 1
Jeff 8
Peter 17
Shay 11
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated twice a day. Edits and history are not available.
Last Parsed: Loading...