Sort Schedule by several parameters

Hi everyone, I want to sort a schedule with several parameters. I am using the orchid package to sort them. it seems to have no errors but the results is not the way is supposed to be. I am using Revit 2022 and current orchid package.

this is my script

this is the result

this what I want.

I do not know what I am missing or what I am doing wrong.

thanks in advance

something like this

1 Like

Yes something like that. thanks.