# Sort by combination of fields in Javascript API

**URL:** <https://community.prismic.io/t/sort-by-combination-of-fields-in-javascript-api/524>\
**Category:** Developing with Prismic\
**Tags:** product-feature-idea, javascript\
**Created:** [May 25, 2020, 10:10am UTC](https://community.prismic.io/t/sort-by-combination-of-fields-in-javascript-api/524 "2020-05-25T10:10:19Z")\
**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:** [May 25, 2020, 12:08pm UTC](https://community.prismic.io/t/sort-by-combination-of-fields-in-javascript-api/524/2 "2020-05-25T12:08:28Z")

</div>

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/sort-by-combination-of-fields-in-javascript-api/524)._
