
El array es este:
Código:
  
Y luego muestro el array asi:var galleryarray=new Array() galleryarray[0]=["imagen.gif", "descripcion", "subtexto", "url.asp","9/28/2006 10:01:46 PM"] galleryarray[1]=["imagen.gif", "descripcion", "subtexto", "url.asp","9/22/2006 11:01:46 PM"] galleryarray[2]=["imagen.gif", "descripcion", "subtexto", "url.asp","9/21/2006 9:01:46 PM"] galleryarray[3]=["imagen.gif", "descripcion", "subtexto", "url.asp","9/20/2006 01:01:46 PM"] galleryarray[4]=["imagen.gif", "descripcion", "subtexto", "url.asp","7/28/2006 5:01:46 PM"]
Código:
  
Lo quiero ordenar por el "campo" de fecha, que es el numero 5, espero se pueda y me puedan ayudarfunction buildimage(i){
var tempcontainer=galleryarray[i][3]!=""? '<a href="'+galleryarray[i][3]+'" target="'+href_target+'"); return false;\'>' : ""
tempcontainer+='<img src="'+galleryarray[i][0]+'" border="0" title="'+galleryarray[i][1]+'" onerror="this.src\'../images/sinfoto.gif\'">'
tempcontainer=galleryarray[i][3]!=""? tempcontainer+'<\/a>' : tempcontainer
tempcontainer=galleryarray[i][2]!=""? tempcontainer+'<br \/>'+galleryarray[i][2] : tempcontainer
return tempcontainer
}
como siempre gracias y espero su ayuda, saludos
 
  
 

 el array es el contenido de subfolders y lo tomo usando el FSO de ASP, ese los toma tal cual estan ordenados en el directorio por eso queria saber si se puede ordenando el array ya creado
 el array es el contenido de subfolders y lo tomo usando el FSO de ASP, ese los toma tal cual estan ordenados en el directorio por eso queria saber si se puede ordenando el array ya creado 
