I have find this code in this forum:
Code:
function MyFunction(a,b)
{
return ((a[1] < b[1]) ? -1 : ((a[1] > b[1]) ? 1 : 0));
}
I've used for my program and it works, does what I want, but do not understand their ways.
Can you explain the function¿?
Thanks
