sort multidimensional array with jquery.
hi,
arr = new Array();
arr.push([1, "javsc script"]);
arr.push([1, "microsoft"]);
arr.push([1, "google"]);
arr.push([1, "action script"]);
while i sort using jquery like this,
$(arr).sort(function(a, b)
{
........
});
it is not working.
if i do the same thing with javascript it is working.
arr.sort(function(a, b)
{
........
});
is this a bug in jquery?