Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

lua sort

local t = {1, 2, 3, 4, 5};

table.sort(t, function(a, b) return a < b end);
 
PREVIOUS NEXT
Tagged: #lua #sort
ADD COMMENT
Topic
Name
8+1 =