Table sort columns with ctrl+alt+click

Adds column sorting to any table on any website. Trigger sorting with Ctrl+Alt+Left-Click.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
jjenkx
今日安裝
0
安裝總數
2
評價
0 0 0
版本
1.0
建立日期
2025-11-24
更新日期
2025-11-24
尺寸
5.0 KB
授權條款
MIT
腳本執行於
所有網站

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.