{"id":18423051,"url":"https://github.com/amarok24/table-sort","last_synced_at":"2025-10-17T06:53:33.575Z","repository":{"id":80033301,"uuid":"284739249","full_name":"Amarok24/table-sort","owner":"Amarok24","description":"Demonstration of table data sorting in vanilla JavaScript.","archived":false,"fork":false,"pushed_at":"2020-08-04T15:26:00.000Z","size":90,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-16T07:41:25.251Z","etag":null,"topics":["javascript","javascript-learning","table-sort"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Amarok24.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-03T15:40:12.000Z","updated_at":"2023-03-01T09:21:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"8366b4bb-7711-4c52-8a7d-e9421585aa5d","html_url":"https://github.com/Amarok24/table-sort","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amarok24%2Ftable-sort","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amarok24%2Ftable-sort/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amarok24%2Ftable-sort/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amarok24%2Ftable-sort/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Amarok24","download_url":"https://codeload.github.com/Amarok24/table-sort/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248732050,"owners_count":21152838,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["javascript","javascript-learning","table-sort"],"created_at":"2024-11-06T04:34:50.246Z","updated_at":"2025-10-17T06:53:28.540Z","avatar_url":"https://github.com/Amarok24.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# table-sort\nDemonstration of table data sorting in vanilla JavaScript.\n\n* No dependencies, vanilla JavaScript + HTML5.\n* It uses JavaScript modules so it won't work offline in a browser. Start a live-server or copy it directly to a server and open the index.htm file.\n* Click on table headers to sort (ascending/descending).\n* Click on any row of the table to instantly remove it from the list.\n\n### Online demo\nhttps://amarok24.github.io/table-sort/src/\n\n***\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eSCREENSHOT\u003c/strong\u003e\u003c/summary\u003e\n\n[see here](./tablesort.png)\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eTROUBLESHOOTING\u003c/strong\u003e\u003c/summary\u003e\n\nYou may get one of those errors in the browser console and the script won't run:\n\n\u003ccode\u003eLoading module from “xxxxx/modules/xxxxx.mjs” was blocked because of a disallowed MIME type (“”).\u003c/code\u003e\n\n\u003ccode\u003eFailed to load module script: The server responded with a non-JavaScript MIME type of \"\". Strict MIME type checking is enforced for module scripts per HTML spec.\u003c/code\u003e\n\nIn such cases the server does not know the MIME type of JavaScript modules. A simple renaming to .js (instead of .mjs) won't help. If you are running an Apache server put this into your .htaccess file:\n```apache\nRewriteEngine on\n\nAddType text/javascript js mjs\n```\n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famarok24%2Ftable-sort","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famarok24%2Ftable-sort","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famarok24%2Ftable-sort/lists"}