tableFilter can do a multi-column sort on an 800-row table in under 60ms - it takes a bit longer to move the table rows around :)
On May 25, 11:18 am, "Sean Catchpole" <[EMAIL PROTECTED]> wrote: > I'm not sure how you're doing your sorting, but you may find the > following useful: > > // Array.Sort > //Original:http://weetbixthecat.com/blog/2006/faster-javascript-sorting/ > if(!Array.prototype.Sort) Array.prototype.Sort = function(p,f) { > if (typeof p != "string") throw new TypeError(); > var o = Object.prototype.toString; > var a = Array.prototype.toString; > var i = function(){ return this[p]; } > Object.prototype.toString = i; > Array.prototype.toString = i; > (typeof f == "function")?this.sort(f):this.sort(); > Object.prototype.toString = o; > Array.prototype.toString = a; > > } > > This is extremely useful for sorting json style objects, and if you > parse the table into this style, it could greatly speed up the sorting > code. I have an example offline that I'll try to make available when I > get home. > > ~Sean