skandragon / thing

Apache License 2.0
8 stars 10 forks source link

Instructor list has issues with alphabetizing #113

Open maco opened 9 years ago

maco commented 9 years ago

http://thing.pennsicuniversity.org/instructors has:

skandragon commented 8 years ago

Yea, I know. I have no idea how those should be treated -- are they all "A" in effect?

wumpus commented 7 years ago

They have an order in the Unicode default locale that's reasonable. Looking at how the list is ordered right now, it looks like something is "de-accenting" the letters before sorting. So Æ is getting sorted like it's the 2 letters AE, and the other accents are getting ignored. I don't think that's how any locale works.

maco commented 7 years ago

Æ is a ligature of a and e, so it should sort after "add" and before "affect". What accent marks do, well...in German ö is the same as oe, so I guess it'd sort with oe? Hmm. I don't know if English has any rule on that other than to treat it as unaccented.

Seems to me that all the A's, whether they're accented or have a ligature, should be in an A section. Though at least now it's not having a Á section followed by an A section and then another Á section again (like it did when I reported the bug), so uh...that's something.

On Wed, Jul 27, 2016 at 10:24 PM Greg Lindahl notifications@github.com wrote:

They have an order in the Unicode default locale that's reasonable. Looking at how the list is ordered right now, it looks like something is "de-accenting" the letters before sorting. So Æ is getting sorted like it's the 2 letters AE, and the other accents are getting ignored. I don't think that's how any locale works.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/skandragon/thing/issues/113#issuecomment-235783175, or mute the thread https://github.com/notifications/unsubscribe-auth/AAYfcLpNFSrWjd-O6LztawDduA7vpXa_ks5qaBLhgaJpZM4FaYx_ .