如何对多列上的数组进行排序?
[publicationID][publication_name][ownderID][owner_name]
owner_name
publication_name
Array.sort()
function mysortfunction(a, b) { var x = a[3].toLowerCase(); var y = b[3].toLowerCase(); return ((x < y) ? -1 : ((x > y) ? 1 : 0));}
owner_name
publication_name
?
智慧大石