If i have an array:
myArray = [['0','Mouse'],['1','Dog'],['2','Cat'],['3','Gerbil']];
How can I alphabetize the array based on the, in this case, animals?
myArray = alpha(myArray);
Results:
myArray = [['2','Cat'],['1','Dog'],['3','Gerbil'],['0','Mouse']];