Re: SortOn a string property but case insensitively !

Jeffrey Kay <[email protected]>
Newsgroups gmane.comp.db.metakit
Message-ID <BD674E34.27F59%[email protected]>
Sounds like something's not right.  Sorting should be case insensitive as
far as I know.  I had an issue some time ago with this and added code to
include an optional case sensitive search
(http://www.mail-archive.com/[email protected]/msg00051.html).

Which toolkit are you using?  C++? Python?

-- jeff

On 9/10/03 9:32 AM, "Aurélien Hugelé" <[email protected]> wrote:

> hi, i'm new to MK, but still i achieved to use it for my project :)
> the only problem i encounter is when i want to sort my view by First
> Name and lastName.
> i use SortOn(firstname,lastname), which is fast. But unfortunately, if
> i have 3 people called
> Aabab martin, toto martin and Zozo martin, the SortOn() returns me, in
> this "wrong" order:
> Aabab martin
> Zozo martin
> toto martin
> 
> because the sort is case sensitive...
> 
> how can i achieve caseInsensitiveness ?
> 
> thanks all
> 
> _____________________________________________
> Metakit mailing list  -  [email protected]
> http://www.equi4.com/mailman/listinfo/metakit
> 


jeffrey kay 
-- shinkuro <jeff!shinkuro.com>
-- aim <jkayk2>
-- weblog <k2.com> 
-- pgp <www.k2.com/keys.htm>

securely share files and collaborate using shinkuro -- <www.shinkuro.com>

"first get your facts, then you can distort them at your leisure" -- mark
twain 
"if the person in the next lane at the stoplight rolls up the window and
locks the door, support their view of life by snarling at them" -- a biker's
guide to life
"if A equals success, then the formula is A equals X plus Y plus Z. X is
work. Y is play. Z is keep your mouth shut." -- albert einstein



_____________________________________________
Metakit mailing list  -  [email protected]
http://www.equi4.com/mailman/listinfo/metakit
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.