{"id":26518710,"url":"https://github.com/christianbach/tablesorter","last_synced_at":"2026-02-21T00:38:03.333Z","repository":{"id":17201321,"uuid":"19969620","full_name":"christianbach/tablesorter","owner":"christianbach","description":"Flexible client-side table sorting","archived":false,"fork":false,"pushed_at":"2020-03-30T04:56:42.000Z","size":787,"stargazers_count":1024,"open_issues_count":106,"forks_count":488,"subscribers_count":52,"default_branch":"master","last_synced_at":"2026-01-31T10:48:35.649Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/christianbach.png","metadata":{"files":{"readme":"README.md","changelog":"changelog","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-20T06:09:41.000Z","updated_at":"2026-01-16T14:18:35.000Z","dependencies_parsed_at":"2022-09-11T06:50:58.979Z","dependency_job_id":null,"html_url":"https://github.com/christianbach/tablesorter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/christianbach/tablesorter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christianbach%2Ftablesorter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christianbach%2Ftablesorter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christianbach%2Ftablesorter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christianbach%2Ftablesorter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/christianbach","download_url":"https://codeload.github.com/christianbach/tablesorter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christianbach%2Ftablesorter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29668719,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T00:11:43.526Z","status":"ssl_error","status_checked_at":"2026-02-20T23:52:33.807Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-21T10:01:46.535Z","updated_at":"2026-02-21T00:37:58.315Z","avatar_url":"https://github.com/christianbach.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Specific Libraries"],"sub_categories":["jQuery"],"readme":"tablesorter\n===========\n\n### Flexible client-side table sorting\n#### Getting started\n\nTo use the tablesorter plugin, include the jQuery library and the tablesorter plugin inside the head-tag of your HTML document:\n\n```html\n\u003cscript type=\"text/javascript\" src=\"/path/to/jquery-latest.js\"\u003e\u003c/script\u003e \n\u003cscript type=\"text/javascript\" src=\"/path/to/jquery.tablesorter.js\"\u003e\u003c/script\u003e \n```\n\nTablesorter works on all standard HTML tables. You must include THEAD and TBODY tags:\n\n```html\n\u003ctable id=\"myTable\" class=\"tablesorter\"\u003e \n\u003cthead\u003e \n\u003ctr\u003e \n    \u003cth\u003eLast Name\u003c/th\u003e \n    \u003cth\u003eFirst Name\u003c/th\u003e \n    \u003cth\u003eEmail\u003c/th\u003e \n    \u003cth\u003eDue\u003c/th\u003e \n    \u003cth\u003eWeb Site\u003c/th\u003e \n\u003c/tr\u003e \n\u003c/thead\u003e \n\u003ctbody\u003e \n\u003ctr\u003e \n    \u003ctd\u003eSmith\u003c/td\u003e \n    \u003ctd\u003eJohn\u003c/td\u003e \n    \u003ctd\u003ejsmith@gmail.com\u003c/td\u003e \n    \u003ctd\u003e$50.00\u003c/td\u003e \n    \u003ctd\u003ehttp://www.jsmith.com\u003c/td\u003e \n\u003c/tr\u003e \n\u003ctr\u003e \n    \u003ctd\u003eBach\u003c/td\u003e \n    \u003ctd\u003eFrank\u003c/td\u003e \n    \u003ctd\u003efbach@yahoo.com\u003c/td\u003e \n    \u003ctd\u003e$50.00\u003c/td\u003e \n    \u003ctd\u003ehttp://www.frank.com\u003c/td\u003e \n\u003c/tr\u003e \n\u003ctr\u003e \n    \u003ctd\u003eDoe\u003c/td\u003e \n    \u003ctd\u003eJason\u003c/td\u003e \n    \u003ctd\u003ejdoe@hotmail.com\u003c/td\u003e \n    \u003ctd\u003e$100.00\u003c/td\u003e \n    \u003ctd\u003ehttp://www.jdoe.com\u003c/td\u003e \n\u003c/tr\u003e \n\u003ctr\u003e \n    \u003ctd\u003eConway\u003c/td\u003e \n    \u003ctd\u003eTim\u003c/td\u003e \n    \u003ctd\u003etconway@earthlink.net\u003c/td\u003e \n    \u003ctd\u003e$50.00\u003c/td\u003e \n    \u003ctd\u003ehttp://www.timconway.com\u003c/td\u003e \n\u003c/tr\u003e \n\u003c/tbody\u003e \n\u003c/table\u003e \n```\n\nStart by telling tablesorter to sort your table when the document is loaded:\n\n```javascript\n$(document).ready(function() \n    { \n        $(\"#myTable\").tablesorter(); \n    } \n); \n```\n\nClick on the headers and you'll see that your table is now sortable! You can also pass in configuration options when you initialize the table. This tells tablesorter to sort on the first and second column in ascending order.\n\n```javascript\n$(document).ready(function() \n    { \n        $(\"#myTable\").tablesorter( {sortList: [[0,0], [1,0]]} ); \n    } \n); \n```\n\nFor DateTime columns you can specify your format, like this:\n\n```javascript\n$(document).ready(function() \n    { \n        $(\"#myTable\").tablesorter( {dateFormat: 'pt'} ); \n    } \n); \n```\n\nThe available ones (currently) are: us, pt and uk. (for pt you can use 'dd/MM/yyyy hh:mm:ss')\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristianbach%2Ftablesorter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchristianbach%2Ftablesorter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristianbach%2Ftablesorter/lists"}