Your U of T Resource Finder
Skip to Content
This is a Site Notice — 20 May, 2026 8:31 am

Site notices can be found under Appearance on the back end of your site.

Feeling Distressed?

Sortable Tables

Example

Type in the search box to filter the rows, or click a column heading to sort by it.

NamePositionOfficeAgeStart date
Airi SatouAccountantTokyo332008/11/28
Angelica RamosChief Executive Officer (CEO)London472009/10/09
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12
Bradley GreerSoftware EngineerLondon412012/10/13
Brenden WagnerSoftware EngineerSan Francisco282011/06/07
Brielle WilliamsonIntegration SpecialistNew York612012/12/02
Tatyana FitzpatrickRegional DirectorLondon192010/03/17
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25
Zenaida FrankSoftware EngineerNew York632010/01/04
Zorita SerranoSoftware EngineerSan Francisco562012/06/01

Description

Sortable Tables adds a search box above each table on a page and lets visitors sort a table by clicking a column heading. Clicking the same heading again reverses the order. Numbers sort by value, text alphabetically, and empty cells go last. It’s built into the theme, with nothing loaded from other sites.

Usage

Switching it on

While editing the page, switch on Sortable Tables in the Page Features panel. It applies to every table on the page.

Making a table sortable

Sorting needs a single header row: in the Table block, switch on Header section and put the column names in it.

Tables with cells that span several rows are left as they are, with no search box or sorting, because hiding or reordering rows would scramble them. Tables with more than one header row, headings that span columns, or rows of headings in the body get a search box but can’t be sorted.

Leaving out the search box

Add no-search to a table block’s Additional CSS class(es), in the block’s Advanced panel, to leave out its search box.

Before theme version 2.3.2 this switch was called Bootstrap Table and did nothing in Streamlined.