# PMS Bug - Custom Collection - Custom Sort

**URL:** <https://forums.plex.tv/t/pms-bug-custom-collection-custom-sort/685014>\
**Category:** Plex Media Server\
**Tags:** server-docker\
**Created:** [January 31, 2021, 3:10am UTC](https://forums.plex.tv/t/pms-bug-custom-collection-custom-sort/685014 "2021-01-31T03:10:02Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![polaliralo](https://avatars.discourse-cdn.com/v4/letter/p/c5a1d2/32.png) [@polaliralo](https://forums.plex.tv/u/polaliralo)\
**Post date:** [February 13, 2021, 3:30pm UTC](https://forums.plex.tv/t/pms-bug-custom-collection-custom-sort/685014/3 "2021-02-13T15:30:44Z")

</div>

Server Version#: 1.21.3.4021-5a0a3e4b2  
Player Version#: 1.27.2.1599-7689068b

I get the same Error (PMS Log):

`Feb 12, 2021 23:22:15.051 [0x7fbe23fff700] ERROR - SQLITE3:(nil), 1, no such column: taggings.index in "select distinct metadata_items.id from metadata_items left join media_items on media_items.metadata_item_id=metadata_items.id left join media_parts on media_parts.media_ite Feb 12, 2021 23:22:15.051 [0x7fbe23fff700] ERROR - Soci Exception handled: sqlite3_statement_backend::prepare: no such column: taggings.index for SQL: select distinct metadata_items.id from metadata_items left join media_items on media_items.metadata_item_id=metadata_items.id left join media_parts on media_parts.media_item_id=media_items.id where metadata_items.library_section_id in (5) and (metadata_items.metadata_type=1 and metadata_items.id in (select taggings.metadata_item_id from taggings join tags on tags.id=taggings.tag_id where tags.id='59852' and tags.tag_type=2)) order by taggings.index IS NULL,taggings.index asc, metadata_items.title_sort collate naturalsort asc, metadata_items.title_sort collate naturalsort asc, metadata_items.originally_available_at asc, metadata_items.id asc `

Work-a-round: switch back to  
Sammlung sortieren: Veröffentlichungsdatum

Longer discussion: [Feature Suggestions Custom Collection Sorting](https://forums.plex.tv/t/custom-collection-sorting-machete-order/236226)

---

_[View the full topic](https://forums.plex.tv/t/pms-bug-custom-collection-custom-sort/685014)._
