I would just delete the entire question because I figured it out and it was super simple... and I figure if I had this problem maybe someone else will or has as well.. So Here is the solution
table.sort() NEVER RETURNS ANYTHING so....
1 | local list = { 1 , 64 , 3 , 6 , 865 , 80 , 6 , 245 , 8 , 3456 , 997 , 97 , 0 , 75 , 3 } |
2 | local a = table.sort(list) |
Output:
nil
a will ALWAYS = nil
a will NEVER not = nil
Therefore... SOLUTION
1 | local list = { 1 , 64 , 3 , 6 , 865 , 80 , 6 , 245 , 8 , 3456 , 997 , 97 , 0 , 75 , 3 } |
5 | print (table.concat(list, "|" )) |
Output:
0|1|3|3|6|6|8|64|75|80|97|245|865|997|3456
Conclusion: table.sort() sorts that list given. It does NOT create a new 'sorted' list.
I'm aware I should have known this. But I overlooked things. Hope my issue helps someone lol