# orde by schedules

**URL:** <https://forum.phpvms.net/t/orde-by-schedules/3220>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [August 14, 2010, 4:33am UTC](https://forum.phpvms.net/t/orde-by-schedules/3220 "2010-08-14T04:33:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Valerio\_Cowboy](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/v/67e7ee/32.png) [@Valerio\_Cowboy](https://forum.phpvms.net/u/Valerio_Cowboy)\
**Post date:** [August 14, 2010, 4:33am UTC](https://forum.phpvms.net/t/orde-by-schedules/3220/1 "2010-08-14T04:33:00Z")

</div>

people, a help fast.

On-screen scheduling, does not show schedules in order registered in the database, ie, the random, had opened the file and nothing app.config.php. any idea what could be?

---

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [August 14, 2010, 3:21pm UTC](https://forum.phpvms.net/t/orde-by-schedules/3220/2 "2010-08-14T15:21:44Z")

</div>

You can add a line to your local.config.php file to tell the system how you want schedules sorted.

For example,

```
Config::Set('SCHEDULES_ORDER_BY', 's.flightnum ASC');

```

would sort schedules by flight number in a ascending order.

---

<div class="post-metadata">

**Author:** ![Valerio\_Cowboy](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/v/67e7ee/32.png) [@Valerio\_Cowboy](https://forum.phpvms.net/u/Valerio_Cowboy)\
**Post date:** [August 15, 2010, 6:24pm UTC](https://forum.phpvms.net/t/orde-by-schedules/3220/3 "2010-08-15T18:24:55Z")

</div>

> You can add a line to your local.config.php file to tell the system how you want schedules sorted.
> 
> For example,
> 
> Config::Set(‘SCHEDULES\_ORDER\_BY’, ‘s.flightnum ASC’);
> 
> would sort schedules by flight number in a ascending order.

is still out of order.[![post-584-036813100 1281896644\_thumb.gif](\<fileStore.core\_Attachment\>/monthly\_08\_2010/post-584-036813100%201281896644\_thumb.gif)](\<fileStore.core\_Attachment\>/monthly\_08\_2010/post-584-036813100%201281896644.gif)

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [August 18, 2010, 2:42pm UTC](https://forum.phpvms.net/t/orde-by-schedules/3220/4 "2010-08-18T14:42:51Z")

</div>

Looks in order from me, do you want lowest to highest? or highest to lowest

---

<div class="post-metadata">

**Author:** ![Valerio\_Cowboy](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/v/67e7ee/32.png) [@Valerio\_Cowboy](https://forum.phpvms.net/u/Valerio_Cowboy)\
**Post date:** [August 18, 2010, 9:56pm UTC](https://forum.phpvms.net/t/orde-by-schedules/3220/5 "2010-08-18T21:56:08Z")

</div>

> Looks in order from me, do you want lowest to highest? or highest to lowest

Anyway, since it is in order
