I'm currently using numbers as subalbums name (e.g. 001,002,010..) and the default order in this case is 001,010,011,...002 because 01x comes first than 002.
Is there a way to force the ordering by album name (trought code, under zp-core/functions.php sortMultiArray()) instead of adding each album under admin panel and specify a custom order?
Ii've got more than 900 albums..
Thanks
Comments
Even without the leading zeros the the albums should be in order since we use a "natural" sort to sort them.
What you are seeing/describing does not happen with current Zenphoto selecting the filename as the sort criteria. In fact, there is pretty much no way that order could come from the filenames with or without the "natural" sort that I described since the ascii sort would match the natural sort given the uniform length of the names.
So, if you are really experiencing this your computer must be sadly broken as it cannot compare byte strings in a normal ascii sequence.