eeditiones / eltec

Demo app for data from European Literary Text Collection (ELTeC)
GNU General Public License v3.0
2 stars 1 forks source link

Sort order #4

Closed lb42 closed 3 years ago

lb42 commented 3 years ago

Sort by title or author sorts all unaccented characters ahead of all accented letters, which is confusing. Is it sorting by unicode code values or what? See https://en.wikipedia.org/wiki/European_ordering_rules

tuurma commented 3 years ago

Set the collation method to http://www.w3.org/2013/collation/UCA which probably does what one expects

image

tuurma commented 3 years ago

closed with https://github.com/eeditiones/eltec/commit/d36bbd8db2339cd4ce3b0af789feef2a1f99ac36