# Data Shapes List View Sorting

**URL:** <https://forum.dynamobim.com/t/data-shapes-list-view-sorting/114583>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [May 7, 2026, 8:12pm UTC](https://forum.dynamobim.com/t/data-shapes-list-view-sorting/114583 "2026-05-07T20:12:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jarod.tulanowski](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jarod.tulanowski/32/83235_2.png) [@jarod.tulanowski](https://forum.dynamobim.com/u/jarod.tulanowski)\
**Post date:** [May 7, 2026, 8:12pm UTC](https://forum.dynamobim.com/t/data-shapes-list-view-sorting/114583/1 "2026-05-07T20:12:18Z")

</div>

I know it has been asked before and I did read them but none of them had a answer for me. I am trying to create a detail library file so I can brouse the project and insert the details into my project. My issue is using data shapes as a filter. I feed into the data using the Orchid(View.ByViewType Node) and get my list and by using the List.GroupByKey node I am able to get Data shapes to look awsome the issue is 1 have 17 unique keys and no mater what I pick it pulls the same details. I kind of see what it is doing Like I select category 17 and choose the only one in the column and that is 0 position the export out of dynamo is just 0 and that is the first item out of the original list. I have attached the script for help I have been beating my head on this all day.

I know I am just sorting it wrong but feel like I tried everything I am up to file 15 lol

Thanks in advance for the help!

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

[insert details.dyn](https://forum.dynamobim.com/uploads/short-url/aDKfg8JMQ8J3BIGxyhXOimxuEDf.dyn) (33.8 KB)

---

<div class="post-metadata">

**Author:** ![Robert\_Younger](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/robert_younger/32/205603_2.png) [@Robert\_Younger](https://forum.dynamobim.com/u/Robert_Younger)\
**Post date:** [May 7, 2026, 9:12pm UTC](https://forum.dynamobim.com/t/data-shapes-list-view-sorting/114583/2 "2026-05-07T21:12:30Z")

</div>

> [@DataShapes ListView Inconsitency](https://forum.dynamobim.com/t/datashapes-listview-inconsitency/94414/7):
>
> Sorry, it’s been a while since I’ve used Data-Shapes and I totally forgot that this change occurred. The python code that makes up the input nodes from Data-Shapes no longer supports multiple inputs for the same node. You would have to use two Listview Data nodes for your two input lists or pull out the python code from the node and modify it to handle multiple input lists. If you know how many inputs lists you’ll have (but need to keep the selections or length flexible), then multiple nodes i…

I don’t use Data-Shapes enough to know if this issue was ever resolved in newer updates, but I would suspect it’s related if you’re only ever able to pull values from index0 (the first detail categories in your list of detail categories).

The quick fix would be to know how many detail categories you have and to build out that many individual listview data nodes:

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

I don’t know what the structure of your sorted list looks like, but I wouldn’t think that a direct wire from the pre-grouped sorted list into the Values input of Listview Data is going to give you the right values regardless - in the public examples on the .io, Key and Values are identical list structures.

---

<div class="post-metadata">

**Author:** ![john.gray](https://avatars.discourse-cdn.com/v4/letter/j/c2a13f/32.png) [@john.gray](https://forum.dynamobim.com/u/john.gray)\
**Post date:** [May 8, 2026, 9:20pm UTC](https://forum.dynamobim.com/t/data-shapes-list-view-sorting/114583/3 "2026-05-08T21:20:27Z")

</div>

Hi Jarod,

Whenever I use a fixed number of lists, I’ll usually use a separate ‘Listview Data’ node for each list. However, such as in your case, when using a varying number of Lists, you could try using the List Levels within the ‘Listview Data’ node, such as in this screenshot. I find that setting the InputName List Level to @L1, and the other two inputs, Keys and Values List Levels to @L2, the dialog box will display and work properly. Good luck with it.

 ![2026-05-08_14-02-41](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/5/65bb7dc1e79a0ed4028579048a04f94566573b88.png)

---

<div class="post-metadata">

**Author:** ![jarod.tulanowski](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jarod.tulanowski/32/83235_2.png) [@jarod.tulanowski](https://forum.dynamobim.com/u/jarod.tulanowski)\
**Post date:** [May 11, 2026, 12:47pm UTC](https://forum.dynamobim.com/t/data-shapes-list-view-sorting/114583/4 "2026-05-11T12:47:43Z")

</div>

WOW never thought of adding in levels to the Data shapes node. I kept messing with the levels of the other nodes. I also fixed the List.GroupByKey to be a direct input to the Values (not from the main list) and then all worked as should Thank you so much for the help.

Also Robert that was the way I was going to go might make it simpler so the list (groups) doesnt get so crazy I have 17 right now lol

You made my Monday.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/4/04ade73babc6b90fffdb5d445c9d4c23e2c6f4ad.png)

---

<div class="post-metadata">

**Author:** ![john.gray](https://avatars.discourse-cdn.com/v4/letter/j/c2a13f/32.png) [@john.gray](https://forum.dynamobim.com/u/john.gray)\
**Post date:** [May 11, 2026, 1:40pm UTC](https://forum.dynamobim.com/t/data-shapes-list-view-sorting/114583/5 "2026-05-11T13:40:45Z")

</div>

Awesome, Jarod, glad to know that you’ve got the Lists displaying the way you like, and have a great Monday. Glad to help!
