Version 16 (modified by Peter Suter, 5 years ago) (diff)

Document new (r16371) approach where it works automatically for standard wiki tables

Sort tables


This plugin allows you to sort tables on your Trac wiki or ticket pages. It uses the tablesorter jQuery plugin for making wiki tables sortable.

This plugin is a wrapper around the third-party Javascript library jquery.tablesorter, that is dual licensed under the MIT and GPL licenses.

Bugs/Feature Requests

Existing bugs and feature requests for TableSorterPlugin are here.

If you have any issues, create a new ticket.


1 / 1


1 / 2


1 / 1


Download the zipped source from here.


You can check out TableSorterPlugin from here using Subversion, or browse the source with Trac.


General instructions on installing Trac plugins can be found on the TracPlugins page.


This is standard table wiki formatting:

||= Last Name =||= First Name =||= Email =||= Due =||
|| Smith || John || || $50.00 ||
|| Bach || Frank || || $50.00 ||
|| Doe || Jason || || $100.00 ||
|| Conway || Tim || || $50.00 ||

Without this plugin it would be shown like this:

Last Name First Name Email Due
Smith John jsmith@… $50.00
Bach Frank fbach@… $50.00
Doe Jason jdoe@… $100.00
Conway Tim tconway@… $50.00

With this plugin the table is sortable by clicking the headings: Example screenshot

Recent Changes

16392 by psuter on 2017-03-25 08:19:26
TableSorterPlugin: Using jQuery at global scope to avoid the possibility of conflicts.
(see #12624)
16381 by psuter on 2017-03-24 18:35:08
TableSorterPlugin: Bump version to 1.1.
(see #12850)
16380 by psuter on 2017-03-24 18:33:06
TableSorterPlugin: Fix problem with multiple tables.
(see #12850)


Author: psuter
Maintainer: Peter Suter

Attachments (2)

Download all attachments as: .zip