jQuery has a table-sorting plugin, part of their official UI project. It’s quite a nice table-sorting library, handling the common cases, with options making it configurable to suit many people’s needs. However, I ran into a problem when using it in a project. The documentation and the functionality don’t quite line up. It has an …