# Reorder a list in an "element output" node!

**URL:** <https://forum.dynamobim.com/t/reorder-a-list-in-an-element-output-node/67959>\
**Category:** Uncategorized\
**Created:** [September 7, 2021, 10:09pm UTC](https://forum.dynamobim.com/t/reorder-a-list-in-an-element-output-node/67959 "2021-09-07T22:09:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Uacine](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/uacine/32/123898_2.png) [@Uacine](https://forum.dynamobim.com/u/Uacine)\
**Post date:** [September 7, 2021, 10:09pm UTC](https://forum.dynamobim.com/t/reorder-a-list-in-an-element-output-node/67959/1 "2021-09-07T22:09:58Z")

</div>

Hi,  
I

 ![room parameters](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/3/93ec68e5aa1686c9f5ee582176e5db33078fe4b6.png)  
am trying to set a batch of room parameters directly from Excel using Dynamo, but I got stuck with the sorting of the list, i need the room list order to be suitable to Excel order, so while the setparameter node reads only from the elelment node, i couldn’t find a way to get them ordered in a node of elelment output.

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [September 8, 2021, 4:50am UTC](https://forum.dynamobim.com/t/reorder-a-list-in-an-element-output-node/67959/2 "2021-09-08T04:50:44Z")

</div>

Hello…could something here help you…

 ![Screenshot 2021-09-06 174403](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/d/bd70dda5365c8383a3eaaba9d9e82dcec664d799.png)

---

<div class="post-metadata">

**Author:** ![AmolShah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/amolshah/32/103244_2.png) [@AmolShah](https://forum.dynamobim.com/u/AmolShah)\
**Post date:** [September 8, 2021, 5:44am UTC](https://forum.dynamobim.com/t/reorder-a-list-in-an-element-output-node/67959/3 "2021-09-08T05:44:23Z")

</div>

@Uacine Not sure if I understood your question to the fullest, but give this a try:  
[Populate Parameters.dyn](https://forum.dynamobim.com/uploads/short-url/u6l1ZIEBdBc6oM1b3qmBSKn3WSx.dyn) (32.3 KB)

 ![Populate Parameters_2021-09-07_10-44-00](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/1/f175356812524fff254d5abfaab8ce03f31a5efe.png)

---

<div class="post-metadata">

**Author:** ![Uacine](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/uacine/32/123898_2.png) [@Uacine](https://forum.dynamobim.com/u/Uacine)\
**Post date:** [September 8, 2021, 1:21pm UTC](https://forum.dynamobim.com/t/reorder-a-list-in-an-element-output-node/67959/4 "2021-09-08T13:21:50Z")

</div>

when i select the room elements, all of them come together in the same list, but i want just a list with unique items, but the output needs to be (elelments) not a list, i hope you get me

---

<div class="post-metadata">

**Author:** ![Uacine](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/uacine/32/123898_2.png) [@Uacine](https://forum.dynamobim.com/u/Uacine)\
**Post date:** [September 8, 2021, 1:22pm UTC](https://forum.dynamobim.com/t/reorder-a-list-in-an-element-output-node/67959/5 "2021-09-08T13:22:52Z")

</div>

when i select the room elements, all of them come together in the same list, but i want just a list with unique items, and the output needs to be (elelments) not a list, i hope you get me

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [September 8, 2021, 4:37pm UTC](https://forum.dynamobim.com/t/reorder-a-list-in-an-element-output-node/67959/6 "2021-09-08T16:37:08Z")

</div>

I think you want `Sort/Group ByKey`. Unique values will get you nowhere if you don’t have all the elements. You can group the elements by their unique values though so that they all get handled together.

Edit: Looks like that was what Amol was doing.
