# How to do nested sorting with NEST?

**URL:** <https://discuss.elastic.co/t/how-to-do-nested-sorting-with-nest/123626>\
**Category:** Elasticsearch\
**Created:** [March 12, 2018, 8:18pm UTC](https://discuss.elastic.co/t/how-to-do-nested-sorting-with-nest/123626 "2018-03-12T20:18:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![togakangaroo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/togakangaroo/32/28229_2.png) [@togakangaroo](https://discuss.elastic.co/u/togakangaroo)\
**Post date:** [March 12, 2018, 8:18pm UTC](https://discuss.elastic.co/t/how-to-do-nested-sorting-with-nest/123626/1 "2018-03-12T20:18:31Z")

</div>

According to [this page](https://www.elastic.co/guide/en/elasticsearch/guide/current/nested-sorting.html) There should be some sort of `Mode` method inside of NEST's `.Sort(...)` nested closure.

I'm not seeing anything though

---

<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:** [April 9, 2018, 8:19pm UTC](https://discuss.elastic.co/t/how-to-do-nested-sorting-with-nest/123626/2 "2018-04-09T20:19:01Z")

</div>

Closed on April 9, 2018, 8:19pm UTC

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