so i have a multidimensional array in javascript (can t use php) and want to sort it by the variables "filename" and "size". I got the arrays from an other website (dynamic data via xml). my var's look like this (extracted from much other code, ask if u need the other code):
var id = new Array();
var filename = new Array();
var url = new Array();
var size = new Array();
var creationDate = new Array();
var mimetype = new Array();
var thumbnailAvailable = new Array();
how can i sort them? do i need an array over these arrays?
thanks for your help!
size
andfilename
values? – Daniel Nov 30 '13 at 23:20