{"repo":"LunarWerxs/YTSort","free":true,"listed":false,"github":"https://github.com/LunarWerxs/YTSort","clone":"git clone https://github.com/LunarWerxs/YTSort.git","description":"Sort any YouTube playlist you own by video length, shortest or longest first, in seconds. Fast, server-verified reordering through YouTube's own API, with a drag-and-drop fallback. Userscript + Chrome extension.","language":"JavaScript","stars":11,"topics":["chrome-extension","duration","greasemonkey","playlist","productivity","sort","tampermonkey","userscript","youtube","youtube-playlist"],"license":"GPL-2.0","category":"productivity","readme_excerpt":"Sort YouTube Playlist by Duration Reorder any playlist you own by video length — shortest or longest first — in seconds. --- YouTube lets you reorder a playlist by hand, one drag at a time — miserable on anything longer than a few videos. YTSort adds a small panel to your playlist page that sorts the whole thing by duration for you, in seconds. It's a ground-up rebuild (v5) of the original script, engineered to be fast and honest : it reorders through YouTube's own playlist API and then re-reads the result from YouTube's servers to prove it actually worked. ✨ Features - ⚡ Fast. Sorts through YouTube's own reorder API — a 300-video playlist finishes in seconds, not minutes. - ✅ Verified. Re-reads the final order from YouTube's servers and only says \"done\" when it's actually sorted. It never silently half-finishes. - 🔀 Shortest-first or longest-first , with an alphabetical tiebreaker for equal-length videos. - 📃 Whole playlist , not just the videos currently loaded on screen. - 🔍 Dry Run — preview the exact before/after order, then apply with one click. - 🎯 Duration filters — only sort videos within a length range (the rest move to the end). - 📊 Stats — total duration, average, shortest, and longest at a glance. - 📥 CSV export — position, title, duration, and URL for the whole playlist. - 🌗 Native light & dark theme — matches YouTube automatically. - 🛟 Drag-and-drop fallback — used automatically if the fast path is ever unavailable. 📸 Screenshots &nbsp; 🚀 Install Opti","default_branch":null,"files":null,"tree":[],"storefront":"/r/LunarWerxs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/LunarWerxs/YTSort/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}