Twitch - Force sort Viewers High to Low

Auto-set sort to "Viewers High->Low" with configurable run policy

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
Vikindor
Daily installs
0
Total installs
5
Ratings
1 0 0
Version
1.8.1
Created
2025-09-16
Updated
2026-02-14
Size
5.64 KB
License
MIT
Applies to

Twitch - Force sort Viewers High to Low

Userscript for browsers that automatically sets the Twitch directory sort option to “Viewers (High to Low)”.
Works on /directory, /directory/all, and other Twitch pages with the same sort dropdown.

✨ Features

  • Forces sorting by Viewers (High to Low) on Twitch directory pages.
  • Works across SPA navigations (React router) and on initial load.
  • Works with all languages.
  • Two configurable run policies:
    • perTab — applies once per URL within the current tab. If you manually change the sort option, the script won’t override it again (even after F5).
    • perLoad — applies once per URL on each page load. Refreshing with F5 will re-apply the sort.

🖼 Screenshots

Browse page sorting screenshot Channels page sorting screenshot

🔧 Configuration

Open the script in your userscript manager and change the value of:

const RUN_POLICY = 'perTab';

perTab — recommended for users who want to change sorting manually without interference.

perLoad — recommended for users who always want sorting reset on refresh.