# CCS results sorting

**URL:** <https://discuss.elastic.co/t/ccs-results-sorting/316285>\
**Category:** Elasticsearch\
**Tags:** ccs-cross-cluster-search\
**Created:** [October 11, 2022, 8:29am UTC](https://discuss.elastic.co/t/ccs-results-sorting/316285 "2022-10-11T08:29:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ong](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ong/32/40766_2.png) [@Ong](https://discuss.elastic.co/u/Ong)\
**Post date:** [October 11, 2022, 8:29am UTC](https://discuss.elastic.co/t/ccs-results-sorting/316285/1 "2022-10-11T08:29:35Z")

</div>

I am setting up CCS with a remote cluster that contains 2 indexes using Kibana's data (kibana\_sample\_data\_ecommerce and kibana\_sample\_data\_flights).

When performing a search across these 2 indexes, I noticed that the data from kibana\_sample\_data\_flights always appears first. Is this the default behaviour of CCS results where all matching results from 1 index appears first followed by matching results from the other index?

Is there a way to mix and match the results from the 2 indexes?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 8, 2022, 8:30am UTC](https://discuss.elastic.co/t/ccs-results-sorting/316285/2 "2022-11-08T08:30:27Z")

</div>

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