My question is so simple that the most of you ask why I am asking this, but I am trying to alphabetically sort a table so it is easier searching for something. I am trying to sort the first index on alphabetical order. This is an example of what the table looks like:
data[aspect][1] = 64 --#aspect is a string, the second number indicates how many jars are there and the value is how much of an aspect is in a jar
I tried table.sort, but it is not working. Anyone have ideas?
Edited by GamerNebulae, 16 June 2014 - 10:33 AM.












