HubSpot/sortable
Drop-in script to make tables sortable observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4669
- days_rel: n/a
- days_push: 1285
- n_releases_24m: 0
Adoption not part of the score
1318 stars · 110 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Sortable is a tiny (<2kb min+gzip) JavaScript and CSS library that adds click-to-sort functionality to HTML tables with no dependencies. It works as a drop-in script with several built-in CSS themes and requires only adding a data attribute to table elements.
Use cases
- make html tables sortable
- add column sorting to a static website table
- sort table rows by clicking headers without a framework
- add sortable tables to a blog or docs site
- lightweight table sorting without jquery
When to choose
- you want a zero-dependency drop-in script for table sorting
- your site uses plain HTML tables and you need minimal footprint
- you need broad legacy browser support (IE8+)
When to avoid
- you need advanced table features like pagination, filtering, or virtual scrolling
- you use a component framework and prefer a full data-grid component
- you need actively developed features or frequent updates
Facets
library · maturity maintenance
ui-components web-development frontend browser tables sorting drop-in-script vanilla-javascript css-themes
3 sources
- readme: https://github.com/HubSpot/sortable · fetched 2026-08-28 · 49ca6554cc69
- homepage: http://github.hubspot.com/sortable/docs/welcome · fetched 2026-08-29 · 18ef8c4e3db1
- site_page: https://github.hubspot.com/sortable · fetched 2026-08-29 · 0c8d29641399
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| HubSpot/sortable | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="HubSpot/sortable")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem