Room schedule from Revit to Excel: Sort by level

Hi All,

When exporting a room schedule from Revit to Excel using dynamo, the data is not sorted by level.

I know it is possible to sort into excel but is there a way to sort it by level in Dynamo?

That way if I change a room in Revit and exporting again I hope I avoid sorting the data in Excel again…

Thank you in advance for your help.

Kind regards,


Rooms-Revit to Excel then Excel to Revit.dyn (11.5 KB)

See if adding SortByKey as below solves the problem…