Hi, MOSTAFA EL AYOUBI,
I think I didnt describe my question correctly, but still thanks a lot for your proposition.
I was trying to export a roomlist and reorder them first by level (index 1) and then by room number (index 0), your first proposition has already helped me to odered them by room number. Now I m trying to use filter or booleamask to separate the items into several sublists level 1,level 2,… and then combine them again.
I think your last proposition could also do the job with small modification, I would also try myself