# MultipleInputForm++ (Data-Shapes) output selection order

**URL:** <https://forum.dynamobim.com/t/multipleinputform-data-shapes-output-selection-order/97404>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [January 22, 2024, 11:04pm UTC](https://forum.dynamobim.com/t/multipleinputform-data-shapes-output-selection-order/97404 "2024-01-22T23:04:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![brianthompson87](https://avatars.discourse-cdn.com/v4/letter/b/d6d6ee/32.png) [@brianthompson87](https://forum.dynamobim.com/u/brianthompson87)\
**Post date:** [January 22, 2024, 11:04pm UTC](https://forum.dynamobim.com/t/multipleinputform-data-shapes-output-selection-order/97404/1 "2024-01-22T23:04:14Z")

</div>

I’ve tried again making a script using MultipleInputForm++ (Data-Shapes) node and notice that the outputs do not keep the order of my selection inputs. (see image attached)  
What I’m trying to do is have the user select multiple 2d elements and push a parameter to a selection of 3d elements. Which works to pushes the parameter, but the issue is that the output does not keep the lists in the order I’ve selected, it makes lists based on the order of their Element IDs. (so the parameter does not get pushed to the matching element)  
Is there any way to correct this? …to keep the order as selected.

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

---

<div class="post-metadata">

**Author:** ![NERDASORUS](https://avatars.discourse-cdn.com/v4/letter/n/278dde/32.png) [@NERDASORUS](https://forum.dynamobim.com/u/NERDASORUS)\
**Post date:** [January 23, 2024, 6:29am UTC](https://forum.dynamobim.com/t/multipleinputform-data-shapes-output-selection-order/97404/2 "2024-01-23T06:29:35Z")

</div>

> [@brianthompson87](#):
>
> ot keep the order of my selection inputs. (see image attached)  
> What I’m trying to do is have the user select multiple 2d elements and push a parameter to a selection of 3d elements. Which works to pushes the parameter, but the issue is that the output does not keep the lists in the order I’ve selected, it m

Hello

could you share a full image of your script showing the inputs.

---

<div class="post-metadata">

**Author:** ![Daniel\_Hurtubise](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/daniel_hurtubise/32/146534_2.png) [@Daniel\_Hurtubise](https://forum.dynamobim.com/u/Daniel_Hurtubise)\
**Post date:** [January 23, 2024, 6:59am UTC](https://forum.dynamobim.com/t/multipleinputform-data-shapes-output-selection-order/97404/3 "2024-01-23T06:59:21Z")

</div>

Are you using the the SelectModelElements Data(ordered)?

---

<div class="post-metadata">

**Author:** ![brianthompson87](https://avatars.discourse-cdn.com/v4/letter/b/d6d6ee/32.png) [@brianthompson87](https://forum.dynamobim.com/u/brianthompson87)\
**Post date:** [January 23, 2024, 12:55pm UTC](https://forum.dynamobim.com/t/multipleinputform-data-shapes-output-selection-order/97404/4 "2024-01-23T12:55:16Z")

</div>

Thanks Daniel,  
Works now… I was not using the SelectModelElements Data( **ordered** ) version.
