Sorting arrays
| From: | Jake McHenry | Date: | Sun, 14 Dec 2003 06:42:02 +0000 |
| Subject: | Sorting arrays | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-172661@lists.php.net to get a copy of this message | ||
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