# How to sort tuples

**URL:** <https://community.seqera.io/t/how-to-sort-tuples/842>\
**Category:** Ask for help\
**Created:** [June 12, 2024, 8:52pm UTC](https://community.seqera.io/t/how-to-sort-tuples/842 "2024-06-12T20:52:15Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mribeirodantas](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/mribeirodantas/32/235_2.png) [@mribeirodantas](https://community.seqera.io/u/mribeirodantas)\
**Post date:** [June 13, 2024, 3:57am UTC](https://community.seqera.io/t/how-to-sort-tuples/842/3 "2024-06-13T03:57:53Z")

</div>

Adding to what @CarsonJM explained, [this Nextflow](https://community.seqera.io/t/group-tuples-based-on-two-meta-map-keys-and-sort-based-on-another-one/130) snippet may help you achieve what you’re looking for 😉

---

_[View the full topic](https://community.seqera.io/t/how-to-sort-tuples/842)._
