joequery/Stupid-Table-Plugin — pull request #97 by brazenbits (2014-02-13 21:54:31+00:00)
Title: Optimized sorting (for tables with 100s of rows)

Sorting itself was fast but the for/while loops in sort_map() were slow.
I found it faster to group sort data + TR references into a tuple, sort
the tuple array and then use the TR reference to append the rows back.