Adds column sorting to any table on any website. Trigger sorting with Ctrl+Alt+Left-Click.
This userscript automatically adds sortable columns to any HTML table on any website, without modifying the site itself. It works universally because it doesn’t depend on site-specific selectors or layouts.
How you use it
• Hold Ctrl + Alt
• Left-click any table cell in any table
• The table instantly sorts by that column
Sorting behavior
• First click = descending
• Second click = ascending
• Third click = descending again (toggles)
• Sorting can detect and compare:
Numbers (with commas handled)
Dates (mm/dd/yyyy or yyyy-mm-dd)
File/size formats (MB, GiB, etc.)
Plain text
Sorting respects:
• colSpan
• Thead/tbody if present
• Optional inclusion of the top row as sortable
When to use it
Anywhere you encounter a table with no built-in sorting:
• Download lists
• Directory listings
• Documentation tables
• Inventory lists
• Admin panels
• Data tables in older web tools
• Any unformatted HTML table
You get instant power-user level sorting without relying on website support.