# tristen/tablesort

:arrow_up_down: A small tablesorter in plain JavaScript

Repository: https://github.com/tristen/tablesort
Canonical: https://ross.abutalabs.com/products/tablesort
Homepage: https://tristen.ca/tablesort/demo/
Language: JavaScript
License: MIT
License Family: permissive
Topics: tablesort, javascript
Last push: 2026-04-15T16:06:44+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 77, release rhythm 55, longevity 100
- inputs: {"age_days": 5298, "days_push": 140, "days_rel": 140, "gap_med": 109, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1143, forks 180 (observed 2026-08-28T04:03:44.907406+00:00)

## What it is
A small, dependency-free JavaScript library that adds client-side sorting to HTML tables. It supports extensible sort types (number, date, custom) via plugin scripts and works in all major browsers.

## Use cases
- sort html table columns by clicking headers
- add client-side table sorting without jquery
- sort table by date or number in javascript
- lightweight tablesorter for plain javascript
- customize sort behavior for table columns
- exclude certain columns from table sorting

## When to choose
- you need tiny, dependency-free table sorting in vanilla JS
- you want broad legacy browser support
- you need custom sort types via a simple extension API

## When to avoid
- you need server-side or paginated data sorting
- you want a full data grid with filtering and virtualization
- your project already uses a large UI framework with built-in table components

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, developer-tools
- domain: frontend, web-development
- platform: browser
- tags: table-sorting, dependency-free, vanilla-javascript, html-tables, nodejs

## Member repositories
- tristen/tablesort (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:44.907406+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:34:58.869619+00:00, confidence not recorded.
  - readme: https://github.com/tristen/tablesort (fetched 2026-08-28T04:03:44.907406+00:00, sha 64b878dad9a8)
  - homepage: https://tristen.ca/tablesort/demo/ (fetched 2026-08-29T12:40:17.551453+00:00, sha 5b5d8412a089)
  - registry_npm: https://registry.npmjs.org/tablesort (fetched 2026-08-29T12:40:17.560807+00:00, sha 63b1a9093c76)
- Data as of 2026-08-30T08:39:29.467469+00:00.
