Board Thread:Support Requests - Getting Technical/@comment-4356266-20130309054347/@comment-4674838-20130309114358

Okay, I'm intermittently seeing the issue you mentioned about the 3 dynamically added rows not sorting. After a couple dozen page loads, it seems to "get stuck" about 25% of the time. The other 75% of the time though I'm seeing the whole table sorting correctly. (Same behavior for both Chrome and Firefox)

Since they aren't sorting consistently, I'd have to say there's some instability in MediaWiki sortable. You may have to write your own sorting code to work around that issue. Which isn't terribly hard, just grab all the contents of the columns, throw them in arrays and call Array.sort (you can specify a comparator function for sorting different types of data, by default it sorts strings) -- make that the onclick handler of the arrow/icon in the &lt;th&gt; cells. The main issue if you're going to write your own sorting code would be making sure it doesn't collide/interfere with MediaWiki's sortable.

Note: for the purposes of your question, adding rows / removing / replacing / updating is all the same as far as the issue with how that interacts with sortable. Basically the issue is that you want the sort to work on a dynamically updated table -- not just a table with static contents.