RE: sorting order between win98/xp

From: Michael Everson (everson@evertype.com)
Date: Wed Mar 12 2003 - 09:43:47 EST

  • Next message: Rick McGowan: "Re: RE: FAQ entry (was: Looking for information on the UnicodeData file)"

    At 13:57 +0100 2003-03-12, Dominikus Scherkl wrote:
    > > One of my colleague ask me this question. We use LCMapStringW
    > > on WinXP and LCMapStringA on Win98 (by using LCMAP_SORTKEY ). And we got
    > > different sorting order for the following
    >>
    >> Example of message list ordering in Win98:
    >> TESTING #1
    >> TESTING #10
    >> TESTING #100
    >> TESTING #11
    >>
    >> While, the message list ordering in WinXP:
    >> TESTING #1
    >> TESTING #10
    >> TESTING #11
    >> TESTING #100
    >
    >Yeah! One of the best features of XP - finaly I don't need to
    >insert leading zeroes to filenames to get them in the proper order
    >(even 9a is sorted before 10).
    >
    >> Anyone know is there a way to make them sort in the same
    >> order?
    >Why should anybody want that?
    >
    >> Anyone know why the sort order is different under that two systems?
    >As I mentioned: a new feature, keeping numbers ordered numerical.

    In my opinion, the user should be allowed to turn this kind of
    sorting off. It is not deterministic string ordering and the user may
    wish to avail of such.

    -- 
    Michael Everson * * Everson Typography *  * http://www.evertype.com
    


    This archive was generated by hypermail 2.1.5 : Wed Mar 12 2003 - 12:30:19 EST