I don't think you need to use CLASS_SORT_ORDER, the order isn't even based on the real class ID's or anything, hehe. I'd just use something like:
Code:
HEX_CLASS_COLORS = {}
do
for k, v in pairs(RAID_CLASS_COLORS) do
HEX_CLASS_COLORS[k] = v.colorStr:sub(3)
end
end
Not sure if I contributed much, hehe. :P