Sorting of table
<p>I have looked at many sorting solutions for jQuery but haven't found what I'm looking for yet.</p>

<p>I am trying to sort a table which has rows and columns that need to be sorted: <a href="http://jsfiddle.net/rvezE/" rel="nofollow">http://jsfiddle.net/rvezE/</a></p>

<pre><code>&lt;table&gt;
&lt;tr&gt;
    &lt;td&gt;3&lt;/td&gt;
    &lt;td&gt;5&lt;/td&gt;
    &lt;td&gt;7&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;1&lt;/td&gt;
    &lt;td&gt;2&lt;/td&gt;
    &lt;td&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;3&lt;/td&gt;
    &lt;td&gt;8&lt;/td&gt;
    &lt;td&gt;9&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p>I need the table to be sorted from left to right, top to bottom. But all plugins I found so far can only sort by row.</p>

<p>I have tried a few simple solution by taking all the TD's out, sorting them and re-adding them, but for a large amount (around 100) the performance is terrible, it needs to be quite snappy for tablets too.</p>

<p>Anyone came across something like this?</p>
