# Sort point with Y and Z coordinates

**URL:** <https://forum.dynamobim.com/t/sort-point-with-y-and-z-coordinates/63669>\
**Category:** Geometry\
**Created:** [May 6, 2021, 1:28pm UTC](https://forum.dynamobim.com/t/sort-point-with-y-and-z-coordinates/63669 "2021-05-06T13:28:47Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![MariaLauraLeonardi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/marialauraleonardi/32/116254_2.png) [@MariaLauraLeonardi](https://forum.dynamobim.com/u/MariaLauraLeonardi)\
**Post date:** [May 6, 2021, 3:38pm UTC](https://forum.dynamobim.com/t/sort-point-with-y-and-z-coordinates/63669/22 "2021-05-06T15:38:47Z")

</div>

This is finally working!!  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/7/c7237adb0087d9eab48837a165e0287c4c312491.jpeg)  
Last question, is there a way of creating a new flatten list following this order?

---

<div class="post-metadata">

**Author:** ![MariaLauraLeonardi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/marialauraleonardi/32/116254_2.png) [@MariaLauraLeonardi](https://forum.dynamobim.com/u/MariaLauraLeonardi)\
**Post date:** [May 6, 2021, 3:43pm UTC](https://forum.dynamobim.com/t/sort-point-with-y-and-z-coordinates/63669/23 "2021-05-06T15:43:17Z")

</div>

Also I would like to have both Y and Z coordinates as crescent, whereas we have Z crescent and Y decrescent  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/1/3107a3fc08c2cdb77993c0c6dcb8f61115d63f25.png)

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [May 7, 2021, 5:01am UTC](https://forum.dynamobim.com/t/sort-point-with-y-and-z-coordinates/63669/24 "2021-05-07T05:01:59Z")

</div>

List.Flatten and List.Reverse should work for the last two questions.

---

<div class="post-metadata">

**Author:** ![MariaLauraLeonardi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/marialauraleonardi/32/116254_2.png) [@MariaLauraLeonardi](https://forum.dynamobim.com/u/MariaLauraLeonardi)\
**Post date:** [May 7, 2021, 8:47am UTC](https://forum.dynamobim.com/t/sort-point-with-y-and-z-coordinates/63669/25 "2021-05-07T08:47:34Z")

</div>

@jacob.small the flatten works properly, but the reverse is changing the Z whereas I need the Y

---

<div class="post-metadata">

**Author:** ![jfbrigaud](https://avatars.discourse-cdn.com/v4/letter/j/a4c791/32.png) [@jfbrigaud](https://forum.dynamobim.com/u/jfbrigaud)\
**Post date:** [May 7, 2021, 11:07am UTC](https://forum.dynamobim.com/t/sort-point-with-y-and-z-coordinates/63669/26 "2021-05-07T11:07:41Z")

</div>

Hello @MariaLauraLeonardi  
like this

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/6/36eecd3c37de48ad15776d795504a0232ae67d00.png)

---

<div class="post-metadata">

**Author:** ![MariaLauraLeonardi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/marialauraleonardi/32/116254_2.png) [@MariaLauraLeonardi](https://forum.dynamobim.com/u/MariaLauraLeonardi)\
**Post date:** [May 7, 2021, 11:09am UTC](https://forum.dynamobim.com/t/sort-point-with-y-and-z-coordinates/63669/27 "2021-05-07T11:09:16Z")

</div>

perfect! Thanks

[Previous page](https://forum.dynamobim.com/t/sort-point-with-y-and-z-coordinates/63669.md?page=1)
