Sort a list of elements by id

Hi everyone,

I would like to set the temperature parameter to my elements (temperature sensors).
The problem is that the temperature data are ordered in a certain way (in green), the elements (temperature sensors) are instead in another order.
I would like to sort the list of elements as in the green list because all the data is sorted that way.
Or, if possible, to obtain the elements from the List.Sort.

Thank you all

List.SortByKey
https://forum.dynamobim.com/t/how-to-get-the-elements-back-by-list-sortbykey/38155

Courtesy of @Nick_Boyts

2 Likes

Thanks for the reply @EzDoesIt