07-21-07 06:27 AM
Paul Furman wrote:
> I guess my web server is using some funky sorting rules:
> http://www.edgehill.net/1/
> The three with images should sort to the top by file name, the true
> filename is obscured but it's:
> 0_Gallery
> 1_Nature
> 2_Human-World
> etc
> etc
> etc
> etc
> etc
> z-etc
>
> But those numbered ones won't go to the top! They look right on my Winxp
> home test server with apache. The file creation date doesn't seem to be
> the sort criteria, what is???
Well, I just did a sort(array) in php to fix up the presentation but
I still don't understand what the default sort is. Googling is hopeless
as it just directs me to the unix sort command, not the default sorting
behavior of unix servers.
--
Paul Furman Photography
http://www.edgehill.net/1
Bay Natives Nursery
http://www.baynatives.com
[ Post a follow-up to this message ]
|