List sorting in Dynamo

Im trying to sort the transposed list at the end of this code into ascending order based on the room number value in each lists 0 row. e.g 101, 102, 103 ect. Ive tried sorting the transposed list with the sort node but it just sorts the individual lists, and I have tried sorting the parameter list for the numbers but it just puts these in ascending order and switches the other parameters around i.e the 206 in the image will move to list 1 but the rest of the parameters in list 0 wont follow it to the correct position. Is there any way to do this?

Use SortByKey. You can either sort each list individually using the same key and then regroup, or you can sort the subgroups all at once with list levels.

4 Likes

@hughese31 ,

…Sort by Key ! as already @Nick_Boyts said…


KR
Andreas

3 Likes

Thank you very much for the help and quick reply.