Does anyone know what the most efficient sorting algorithm would be for a large array (possibly a very large array)? I am currently using the bubble sort algorithm for testing, but the array I am using is very small.
@lugosauthorSep 14.2005 — #It is a 1 dimensional array of [I]constructor functions[/I] (what would be considered beans in Java, but without the setters and getters). So, I don't know if I could use the sort() function with that type of array. I'll go ahead and give it a shot. Thanks.
@felgallSep 14.2005 — #What type of elements are they? You may need to define a function that tells the sort how to compare two entries. I have several examples of how to do this on my page http://javascript.about.com/od/arrays/