Sort by function - Text parameter in numeric order

Hi,
I’m trying to sort sheets by a custom text parameter, so i get it sorted like a string,

how can i get it sorted in a numeric order?

Thanks

String to number node. :slight_smile:

String to number node didn’t help here, since its sorting by revit data.

This failed?

1 Like

Thanks @jacob.small,
It works for one time, but i dont know why now its not work…

@SamBerk I believe @jacob.small was using the Code Block before String to Number to create a similar list to your “Sheet Number Set 2” Parameter values, you do not need the Code Block :slight_smile:

2 Likes

@awilliams is correct. I was just trying to recreate your dataset as I don’t have your Revit file or the rest of your script.

1 Like

Thanks @jacob.small and @awilliams
Now it works :smile: