[thelist] using array.sort() in JavaScript not handling case correctly

rudy r937 at interlog.com
Mon Mar 3 09:32:00 CST 2003

> I suppose a method is to create a 2D array, the second dimension
> containing both lower and standard versions of the words to be sorted.
> You would then sort based on the lowercase version.

excellent suggestion

if you're worried about special characters, then instead of merely
lowercase, the second dimension could have a transformation

for details, see http://www.dbazine.com/gulutzen1.html


More information about the thelist mailing list