Table sort help

how do i sort why roblox made it so dificult to use a FUNCTION inside it why its not like table.sort(table,false(from small to big value) ) you need to make something like that
table.sort(table, function(a,b) *some sorting code goes here* end)

check this line out Table.Sort example - #3 by Forummer

Because that’s not valid syntax. The function callback is not hard or difficult at all; you just return a comparison between A and B

How exactly are you looking to sort the table? The idea of this post seems to be your frustration with your own inability to code instead of actually asking for help.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.