RE: [PHP] Sorting arrays
| From: | Bronislav Klucka | Date: | Sun, 14 Dec 2003 06:52:12 +0000 |
| Subject: | RE: [PHP] Sorting arrays | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172662@lists.php.net to get a copy of this message | ||
Try to explain a little bit more how the arrays could be sorted asscending
and by hitting back and submitting form suddnely sorted descending...
Brona
>
> Does anyone know of a way to keep sort from reversing the array order?
> That is kinda fuzzy, let me explain.
>
> I have a couple arrays that I am sorting. If the user hits the back
> button in their browser, and hits submit again without changing
> anything, the array is sorted again, now in decending order instead of
> ascending as it was the first time around.
>
> The arrays contain dates, and I want them in ascending order.
>
> Is there a way to limit any of the sort routines to ascending only?
>
> Thanks,
>
> Jake McHenry
> Nittany Travel MIS Coordinator
> http://www.nittanytravel.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>