Table sort columns with ctrl+alt+click

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

Autor
jjenkx
Dziennych instalacji
0
Wszystkich instalacji
2
Oceny
0 0 0
Wersja
1.0
Utworzono
24-11-2025
Zaktualizowano
24-11-2025
Rozmiar
4,96 KB
Licencja
MIT
Dotyczy
Wszystkie strony

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.