# Reorder node list

**URL:** <https://forum.dynamobim.com/t/reorder-node-list/58463>\
**Category:** Lists-Logic\
**Created:** [December 17, 2020, 8:17am UTC](https://forum.dynamobim.com/t/reorder-node-list/58463 "2020-12-17T08:17:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xiaofei\_Ying](https://avatars.discourse-cdn.com/v4/letter/x/3d9bf3/32.png) [@Xiaofei\_Ying](https://forum.dynamobim.com/u/Xiaofei_Ying)\
**Post date:** [December 17, 2020, 8:17am UTC](https://forum.dynamobim.com/t/reorder-node-list/58463/1 "2020-12-17T08:17:20Z")

</div>

I have 2 quadrilateral faces that selected from Revit.  
I want to:

1. reorder the node list in face A in the countclock direction (red text), the black text represent its original node ID.
2. reorder the node list in face B in the same way, the start point should be at the “same” location as that in the face A.

![1](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/4/24c6f7cf9a81b0c6f9216523e8cdf3274cfad245.png)

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [December 17, 2020, 12:40pm UTC](https://forum.dynamobim.com/t/reorder-node-list/58463/2 "2020-12-17T12:40:32Z")

</div>

You’ll just need to reverse list and shift indices

 ![reverseShift](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/0/c06031ebf819906cc3619b1a61b1a734155c03af.jpeg)

---

<div class="post-metadata">

**Author:** ![Kai.sampson](https://avatars.discourse-cdn.com/v4/letter/k/4af34b/32.png) [@Kai.sampson](https://forum.dynamobim.com/u/Kai.sampson)\
**Post date:** [December 17, 2020, 12:50pm UTC](https://forum.dynamobim.com/t/reorder-node-list/58463/4 "2020-12-17T12:50:21Z")

</div>

![_reorderPts1](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/c/4cc87fec10192be5a75246c334e8b8c38e61106f.png) ![_reorderPts](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/9/09b844f7c5a48a30677bf9cac859280853044f85.png) [ReOrderPtsTest.rfa](https://forum.dynamobim.com/uploads/short-url/yutLkAFlLgnxQLRL7pprIUFrJVR.rfa) (412 KB) @Vikram_Subbaiah, @Xiaofei_Ying is more elegant than mine but this was my go at it.
