Sort list to put in dropdown input


I’m using Form package to get a dropdown input whenever I run the script.
The issue is that the keys displayed in the dropdown isn’t in numerical order. As far as I can tell it just display them in the order the output “unique keys” provide. But how do I change this?



you can use data-shape package for user inputs.
it’s sort the inputs automaticly.


Yeah I actually ended up using data-shapes. But I don’t have the dropdown data node or the ++ node. Do I have the wrong version of dynamo? I’m using revit 19 and dynamo that comes with that.


Yeah. Try updating the dynamo and the data-shapes package. Your problem will be solved.:slight_smile: