Hi there. I have an array with 3 items inside.
Such as:
var tarray = new Array ();
tarray.length = 2;
I might then end up with the array populated in a random order such as:
tarray [0] = "w_h";
tarray [1] = "w_b";
tarray [2] = "w_g";
How do I get the array to sort reverse alphabetically, so the array would be:
tarray [0] = "w_h";
tarray [1] = "w_g";
tarray [2] = "w_b";
Many thanks.