title: rows.sort is not a function where rows is an array of tr elements
body: <p>What I am trying to do is to get sorting work for a static table with Flexigrid jQuery plugin. The r3 version of the file needs some patches to be applied so that sorting works for already existing tables and from one of the patches i found on the internet I got this code sample which I am not able to make functional.
  This code is giving me some problem.</p>
  
  <pre><code>var rows = $(this.bDiv).find('tr');
  rows.sort(function(a, b) {
                      var compA = $(a).find("td:eq("+col+")").text();
                      var compB = $(b).find("td:eq("+col+")").text();
                      if (p.sortorder=="asc")
                          orderby = 1;
                      return (compA &gt; compB) ? -orderby : 0;
                  });
  </code></pre>
  
  <p>The error i get is <strong>rows.sort is not a function</strong>. I looked at the sort function and yes it can sort arrays in alphabetical order. <strong>rows</strong> is an array of <strong>tr</strong> objects. Any workaround for this ?</p>