Javascript array sort questionshttp://forums.asp.net/t/768575.aspx/1?Javascript+array+sort+questionsThu, 09 Dec 2004 04:32:30 -0500768575768575http://forums.asp.net/p/768575/768575.aspx/1?Javascript+array+sort+questionsJavascript array sort questions Here is my delima ,that I hope some one can solve.Here goes.I have two arrays. lets say arr1 is my sort array in which I sort based on a critera and is one dimentional. Lets say it is a number sort.Ok I can do that and get it to return correct.Here is the problems arr1 is my sort field.My other array is an array of a single row data consisting of 7 fields. So the mock up is this. <pre class="prettyprint">arr1[0]=55; arr[1]=45; objArray[0]=JOHN DOE#HELLO#12/13/2004#&amp;7:30:00 AM#45 objArr[1]=JOHN DOE#HELLO#12/13/2004#&amp;7:30:00 AM#55</pre> once arr1 is sorted I need the entier row(ObjArr) to be resorted according to values in arr1 to be added. Next question how do you sort time like that 7:30:00 AM format? 2004-12-09T03:26:19-05:00