How to Sort YouTube Playlist Videos by Duration
YouTube can’t order a playlist by length. Here is how to get shortest-first or longest-first, and when each is the right call.
Updated 14 October 2026 · 8 min readLength is the most practical way to organise a playlist you actually watch. A commute has twelve minutes, a lunch break has thirty, and a Sunday has hours. Without a sort by duration, you either watch whatever is on top or scan every thumbnail for a runtime.
This guide covers when shortest-first and longest-first make sense, how to apply either one to the playlist, and how videos with no known length, such as deleted ones, are handled so they never distort the order.
Shortest first or longest first
Shortest first gives you quick wins at the top. It suits a watch-later list you want to clear, or a playlist you dip into for a few minutes at a time. Longest first puts the big commitments up front, which suits a lecture series or a collection of full-length talks where you want to plan your evenings.
| Goal | Direction | Why |
|---|---|---|
| Clear a backlog of watch-later videos | Shortest first | Finish many in a short time |
| Plan long viewing sessions | Longest first | See the heavy items first |
| Spot unusually short or long videos | Either | Outliers sit at the ends |
Sorting by duration
Set Manual order on YouTube
Paste the link
Choose a duration option
Apply it
Videos with no length
Deleted or private videos report no duration. Treating that as zero would make them the shortest videos in the playlist and put them first in a shortest-first sort, which is wrong. They are kept in the playlist and placed after the videos whose length is known, in the order they already had.
Live streams and premieres in progress can also show an unusual length. If a stream looks out of place in the preview, that is why. Check it on the video page, and use a custom order if you want it somewhere specific.
Combining duration with other orders
Duration is a blunt tool when a playlist has structure. A course playlist sorted by length loses its lesson order. If that matters, sort by length only for lists with no sequence, and use upload date or a custom order for series.
For a long mixed playlist, you can run duration first to see how it looks, switch to another sort in the preview without reloading, and only apply the one you like.
Length order ignores sequence
Fitting a 12-video playlist into a free evening
Imagine a watch-later playlist of twelve conference talks, ranging from a nine-minute lightning talk to a seventy-minute workshop. You have ninety minutes tonight. Scrolling for runtimes means opening each thumbnail, and the order on screen is just the order you saved them in.
Sort it shortest first and the preview shows the lightning talks at the top, with runtimes visible on every row. Add up the first five and you know exactly how far ninety minutes gets you. Flip to longest first and the workshop leads, which is the right order for a weekend when you can commit to the heavy material.
Because the preview is free and you can switch direction without reloading, there is no cost to trying both before you commit to applying one. Only the order you actually apply spends credits, one per video that moves.
How MyFreshTools helps
What the tool does
The YouTube Playlist Sorter orders a playlist by video length, shortest or longest first, shows the result beside the current order, and applies it to the playlist on YouTube. Videos with unknown length stay put at the end.
Who it's for
- People clearing a long watch-later style list.
- Teachers and students planning study sessions by length.
- Anyone who wants outliers visible at the ends of a playlist.
How to use it
- Paste the link and pick a duration option.
- Compare it against another sort in the preview if you are unsure.
- Apply the one you want and restore the original later if needed.
Requirements and limits
- A free MyFreshTools account. No card, free credits on signup. Analyzing and previewing a sort cost nothing; the free plan shows the whole new order, with full titles and numbers (views, likes, dates) for the first 10 videos.
- Applying a sort costs 1 credit per video that actually moves, charged only for changes that succeed. A playlist that is already in order costs nothing.
- Applying needs Connect YouTube with permission to edit your playlists, and the playlist must be on the channel you connected. Liked videos, Watch Later, auto-generated Mixes and other people's playlists can't be reordered by any app.
- The playlist must be set to Manual sorting on YouTube. If it isn't, YouTube refuses the change and the tool tells you how to switch it, without charging for that attempt.
- Up to 5,000 videos are read per playlist and up to 1,000 changes are applied per sort, about 150 per run. Bigger sorts pause and can be resumed without repeating or re-paying for anything.
- The original order is saved before the first change and can be restored. Restoring only reorders; videos deleted since can't be put back.
Common mistakes and fixes
| What you see | Likely cause | What to do |
|---|---|---|
| Deleted videos appear at the end | They have no length to sort by | Expected. Find them with the Deleted Video Finder if you want to clean them up. |
| A livestream is in an odd spot | Streams can report an unusual or changing length | Move it with a custom order if it matters. |
| A series is now out of order | Duration sort ignores sequence | Restore the original order, then use upload date for the series. |
Frequently asked questions
Not in its own sort menu, which covers date and popularity rules plus manual order.
Yes. Each row shows its runtime, so you can check the order at a glance.
No. Only positions within the playlist change.
Previewing is free. Applying costs one credit per video that moves.
Yes. The original order is saved before the first change and can be restored.
The takeaway
Sorting by duration makes a playlist fit your time. Choose shortest or longest first, check the runtimes in the preview, and apply it to the playlist. Videos with no length stay in the playlist, last in line.