Apache Server configuration support - sort order

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > July 2007 > sort order





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author sort order
Paul Furman

2007-07-20, 1:24 am

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???

--
Paul Furman Photography
http://www.edgehill.net/1
Bay Natives Nursery
http://www.baynatives.com
Paul Furman

2007-07-21, 1: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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com