# Any way to query a group of different document types and then order them by a field name such as "release\_date" instead of document.first\_publication\_date

**URL:** <https://community.prismic.io/t/any-way-to-query-a-group-of-different-document-types-and-then-order-them-by-a-field-name-such-as-release-date-instead-of-document-first-publication-date/1274>\
**Category:** Developing with Prismic\
**Tags:** ruby\
**Created:** [July 17, 2020, 8:22pm UTC](https://community.prismic.io/t/any-way-to-query-a-group-of-different-document-types-and-then-order-them-by-a-field-name-such-as-release-date-instead-of-document-first-publication-date/1274 "2020-07-17T20:22:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Levi](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/levi/32/24_2.png) [@Levi](https://community.prismic.io/u/Levi)\
**Post date:** [July 20, 2020, 10:23am UTC](https://community.prismic.io/t/any-way-to-query-a-group-of-different-document-types-and-then-order-them-by-a-field-name-such-as-release-date-instead-of-document-first-publication-date/1274/2 "2020-07-20T10:23:38Z")

</div>

Hi @leemc. Unfortunately it isn't possible to order or sort documents by a field across different Custom Types. This is a duplicate thread and discussed here:

> [@Sort by combination of fields in Javascript API](https://community.prismic.io/t/sort-by-combination-of-fields-in-javascript-api/524/2):
>
> Hi @rrkuepper, unfortunately it isn’t possible to order your results by a Date field across different custom types. This is something I would love to see myself, and I’ve added another tick for this in our feature request tracker as a possible improvement for the future. For now, you’ll need to organize the results in your website app after querying.

---

_[View the full topic](https://community.prismic.io/t/any-way-to-query-a-group-of-different-document-types-and-then-order-them-by-a-field-name-such-as-release-date-instead-of-document-first-publication-date/1274)._
