On 8/10/09 12:18 PM, Roan Kattouw wrote:
2009/8/10 Helder Geovane Gomes de
Lima<heldergeovane(a)gmail.com>om>:
1) What is the criteria for ordering the pages
when the sort key of two
pages are the same?
I think they're ordered by page ID, but I'm not sure.
For all
practical purposes, the ordering of pages with the same sortkey is
undefined.
To clarify, here's the information that's available when sorting a
category membership list:
* category name (fixed, since we're looking at a particular category)
* sort key (normally the page title, unless you overrode it)
* page ID (roughly corresponds to page creation time)
The page title can only be applied to the sorting if it's actually *in*
the sort key. If you've overridden it, then *only* the sort key you
provided will have any relevance in ordering; page ID will serve as a
'tiebreaker' but isn't really predictable.
-- brion