User talk:Simetrical/Collation

Prefixing behavior
In regards to "When cl_raw_sortkey is not null, append the page title (or namespace and title) before converting to a binary sortkey. This way you can give " " as a sortkey for a bunch of things and they'll all sort appropriately..." - Well this does seem logical in most cases, what if you have: Then page 2 (sortkey fb) would sort before page 1 (sortkey f). However the expected behaviour in this case I think would be the opposite as the specified sortkeys sort in the reverse order. (hopefully that made sense) Bawolff 20:15, 26 July 2010 (UTC)
 * 1) A page named "zzzz" with a sortkey of "f" (so a combined binary sortkey of fzzzz).
 * 2) A page named "aaa" with a sortkey of "fb" (combined binary sortkey of fbaaa).
 * Hmm, you're correct. I need to add something in between that will sort before everything else.  But that will depend on the collation function . . . for now I'll cheat and use a null byte, I guess, but this will have to be revisited when we use a real collation function. —Simetrical (talk • contribs) 21:37, 26 July 2010 (UTC)
 * Done in, thanks. —Simetrical (talk • contribs) 22:04, 26 July 2010 (UTC)