# Sort Schedule by several parameters

**URL:** <https://forum.dynamobim.com/t/sort-schedule-by-several-parameters/86776>\
**Category:** Revit\
**Tags:** revit, dynamo, orchid\
**Created:** [February 28, 2023, 6:34pm UTC](https://forum.dynamobim.com/t/sort-schedule-by-several-parameters/86776 "2023-02-28T18:34:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jguevara5PPA8](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@jguevara5PPA8](https://forum.dynamobim.com/u/jguevara5PPA8)\
**Post date:** [February 28, 2023, 6:34pm UTC](https://forum.dynamobim.com/t/sort-schedule-by-several-parameters/86776/1 "2023-02-28T18:34:23Z")

</div>

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

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/3/533b1c4a883ababd84b44cef06809634a5ebf170.png)

this is the result

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/c/bcf76191e995b2652c9ec514547c04223909bdd7.png)

this what I want.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/b/0bddcc3a4109e254afe895fe8254621e7318f21b.png)

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

thanks in advance

---

<div class="post-metadata">

**Author:** ![EzDoesIt](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ezdoesit/32/70125_2.png) [@EzDoesIt](https://forum.dynamobim.com/u/EzDoesIt)\
**Post date:** [February 28, 2023, 7:21pm UTC](https://forum.dynamobim.com/t/sort-schedule-by-several-parameters/86776/2 "2023-02-28T19:21:20Z")

</div>

something like this

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/9/1920b74d98a84c1e3ab632126fedcc5b266b042e.png)

---

<div class="post-metadata">

**Author:** ![jguevara5PPA8](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@jguevara5PPA8](https://forum.dynamobim.com/u/jguevara5PPA8)\
**Post date:** [March 1, 2023, 10:38pm UTC](https://forum.dynamobim.com/t/sort-schedule-by-several-parameters/86776/3 "2023-03-01T22:38:27Z")

</div>

Yes something like that. thanks.
