I have a 2 dimensional array that the user can sort. Each column needs to be sortable. I have written this and in IE it works perfectly and behaves as expected. However Firefox shows very strange behavior.
In this example I have a very simple two dimensional array: column one is a name, column two is a department code. When we sort first on the name, and then on the dept-code, we expect to see the department code sorted, but per department that the names are stil in alphabetical order. Again this works fin on IE, but not in Firefox.
You can see firefox screwing up by repeatedly clicking on “Sort By Dept” because the names end up in a different order every time. (The association between columns never get lost thankfully)
Does anyone understand why Firefox is doing this, and is there a simple work around? It’s not often thet IE does something right … π
I have attached a textfile with a code example, or you can check out [url]https://webspace.utexas.edu/torvald/public/sortExample.html
Thanks!
T
[upl-file uuid=d57d5105-58d9-4658-9c9e-72fd8e0214bb size=2kB]sortExample.txt