# Smart Collection sorting by “Last Episode Date Added”

**URL:** https://forums.plex.tv/t/smart-collection-sorting-by-last-episode-date-added/875093
**Category:** General Discussions
**Tags:** managed-accounts, library-management
**Created:** [April 15, 2024, 3:01pm UTC](https://forums.plex.tv/t/smart-collection-sorting-by-last-episode-date-added/875093 "2024-04-15T15:01:35Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![The-Manager](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/the-manager/32/209465_2.png) [@The-Manager](https://forums.plex.tv/u/The-Manager)
#### Post date: [April 15, 2024, 3:01pm UTC](https://forums.plex.tv/t/smart-collection-sorting-by-last-episode-date-added/875093/1 "2024-04-15T15:01:35Z")

</div>

I wanted to raise an old issue that still exists but the ticket was closed out back in 2022.

It is outlined in detail here,

I am able to confirm there is a bug with smart collection sorting using the “Last Episode Date Added” when combined with advanced filters for shared users.  
• This bug only occurs within a smart collection of shows (i.e. query parameters type=2&sort=episode.addedAt:desc). A smart collection of episodes is sorted correctly.  
• There must be at least one advanced filter applied. The exact filter does not matter, and any filter will produce this bug.  
• If a shared user goes into the library and recreates the exact same filters themselves, the sort order is correct.

> [@TV series Smart Collection sort order](https://forums.plex.tv/t/tv-series-smart-collection-sort-order/768056):
>
> I have created multiple smart collections for television series, and have them sorted by EPISODE AIR DATE, and made them visible to all users of my server. When I view them on my account they are sorted correctly, but viewing them on managed users and friends accounts they are sorted by SERIES ADDED DATE. I have tried deleting and added the collections again, and sorting by other ways, but no matter what, my managed users can only see the smart collections sorted by SERIES ADDED DATE.

I can still replicate this on the latest release. The sort order shows correctly in the preview but once you hit “Update Collection” the order is broken.

---

<div class="post-metadata">

### Author: ![x1ao4](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/x1ao4/32/298402_2.png) [@x1ao4](https://forums.plex.tv/u/x1ao4)
#### Post date: [April 22, 2024, 3:19pm UTC](https://forums.plex.tv/t/smart-collection-sorting-by-last-episode-date-added/875093/2 "2024-04-22T15:19:28Z")

</div>

It’s another long-standing, neglected bug. I can confirm that the bug still exists. When sorting the TV library by ‘By Last Episode Date Added’ along with certain other filtering functions, it triggers sorting errors.

For example, filtering by country or genre causes incorrect sorting when using the ‘By Last Episode Date Added’ sorting. However, selecting other filters in combination with ‘By Last Episode Date Added’ or using ‘By Last Episode Date Added’ sorting alone displays the correct sorting. Please fix this bug.

This issue isn’t just confined to editing smart collection filter rules; it occurs when filtering the library as well.

---

<div class="post-metadata">

### Author: ![The-Manager](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/the-manager/32/209465_2.png) [@The-Manager](https://forums.plex.tv/u/The-Manager)
#### Post date: [April 22, 2024, 4:03pm UTC](https://forums.plex.tv/t/smart-collection-sorting-by-last-episode-date-added/875093/3 "2024-04-22T16:03:54Z")

</div>

Yes you are correct, for example, when creating a smart filter “New Episodes Available”…

My desired filter does not work,  
“Date Episode Added” is in the last “28 days” - Sort by: By Last Episode Date Added

As a work around I use,  
“Show Year” is not “1975” - Sort by: By Last Episode Date Added - Limit 30

---

<div class="post-metadata">

### Author: ![x1ao4](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/x1ao4/32/298402_2.png) [@x1ao4](https://forums.plex.tv/u/x1ao4)
#### Post date: [May 9, 2024, 4:25am UTC](https://forums.plex.tv/t/smart-collection-sorting-by-last-episode-date-added/875093/4 "2024-05-09T04:25:21Z")

</div>

Not fixed yet.

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [August 7, 2024, 4:25am UTC](https://forums.plex.tv/t/smart-collection-sorting-by-last-episode-date-added/875093/5 "2024-08-07T04:25:32Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
