What I meant was that in a standard ASCII sort, Z comes before a. The example below, the standard sort algorithm will never move beyond the first character in any of the strings, so all words starting with uppercase letters will come first.
cAT cat dOG dog hORSE horse The above is sorted correctly based on an ASCII sort. The first character of each pair match, with the second character acting as the tie-breaker. I would expect the behavior you described first with any unaltered column of text (where the property simply returns a String). I would not have expected the behavior in the second example. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jon Horsman Sent: Wednesday, October 25, 2006 4:21 PM To: displaytag-user@lists.sourceforge.net Subject: Re: [displaytag-user] Sorting Issues > It's using standard ASCII sorting. Uppercase letters always come first. If you look to the example i posted, thats not the case though. I'm assuming you mean "Cat" would come before "cat" which makes sense. But if you look at what I posted, it gets sorted with all capital letters first, then all lower case. Here is a better example of what what i meant, perhaps i didn't explain myself well. If i had the following 6 words, it will be sorted just as i typed them, words with caps first, and then words starting with lowercase second. Cat Dog Fox cat dog fox one would expect to see Cat cat Dog dog Fox fox wouldn't they? Jon ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user