I'm trying to sort items depending on the stats you choose.
For example :
item dmg spd
Sword 12 25
Knife 6 50
Axe 24 12
And if you click on "damage", the list will sort items by damages.
I tried to do this by using array but it only sort the numbers, not the items.
Is there a way to link the items to their numbers?
Thanks <img src="smileys/smiley12.gif" border="0" align="middle" />