I created a table where I placed the car ranks. From best to worst they look like S,A,B,C,D,F. But when I request a module with ranks, the system sorts this table alphabetically and it turns out A, B, C, D, F, S, which I don’t need. How can I disable this sorting?
How table looks in script
local module = {
["S"] = Color3.new(1, 0.839216, 0),
["A"] = Color3.new(1, 0.121569, 0),
["B"] = Color3.new(0.439216, 0, 1),
["C"] = Color3.new(0, 0.4, 1),
['D'] = Color3.new(0, 1, 0.278431),
["F"] = Color3.new(1, 0.478431, 0)
}
return module
What i get in print
{
["A"] = 1, 0.121569, 0,
["B"] = 0.439216, 0, 1,
["C"] = 0, 0.4, 1,
["D"] = 0, 1, 0.278431,
["F"] = 1, 0.478431, 0,
["S"] = 1, 0.839216, 0
} - Server - Game:4
