INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Sorting of Diacriticals  (Read 4748 times)

Denti

  • Citizen of the Universe
  • *****
  • Posts: 593
Sorting of Diacriticals
« on: July 21, 2015, 07:44:10 am »

Allow sorting to ignore diacritical marks.

For example:

ó, ø, ò, ö, ō, ȯ, ȱ, õ, ȭ, etc. = o
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Sorting of Diacriticals
« Reply #1 on: July 21, 2015, 07:57:38 am »

Allow sorting to ignore diacritical marks.

For example:

ó, ø, ò, ö, ō, ȯ, ȱ, õ, ȭ, etc. = o

Sorting should already ignore those.

The equality is this:
 ò
 ó
 ô
 ö
 ø
All convert to o.
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Sorting of Diacriticals
« Reply #2 on: July 21, 2015, 08:17:00 am »

I did add a few more of the o characters that you posted to our list.
Logged
Matt Ashland, JRiver Media Center

Denti

  • Citizen of the Universe
  • *****
  • Posts: 593
Sorting of Diacriticals
« Reply #3 on: July 21, 2015, 05:37:09 pm »

Sorting should already ignore those.

The equality is this:
 ò
 ó
 ô
 ö
 ø
All convert to o.

Really? Last time I tried these were kicked to the end of the alphabet. Can you make sure all these are included:

à   
á   
â   
ä   
å   
À     
Á   
   
à  
Å
ç   
Ç   
ê   
é   
ë     
è   
Ê   
Ë     
É   
È   
ï   
í   
î   
ì     
Í   
Ì   
Π  
Ï     
ñ   
Ñ   
š   
Š   
ú   
ü   
û   
ù   
Ù   
Ú   
Ü 
Û   
ÿ   
Ÿ   
ý   
Ý   
ž   
Ž   

plus:

æ     
Æ     

equal = ae and AE

œ   
Œ   

equal = oe or OE

and (this would be great):

ß = ss

This letter is very common in German names and should be alphabetized as a "ss"

(Of course technically umlauted vowels should be alphabetized "ae" "oe" etc.. but I'm not pushing my luck)
Logged

Denti

  • Citizen of the Universe
  • *****
  • Posts: 593
Sorting of Diacriticals
« Reply #4 on: July 21, 2015, 05:42:43 pm »

Sorting should already ignore those.

The equality is this:
 ò
 ó
 ô
 ö
 ø
All convert to o.

This is not how it works in my MC20. For example, ö gets sorted immediately after o.

This creates some strange sorting.

Scholl
Schott
Schön
Schönberg

Is there a setting for this I should know about?
Logged

flac.rules

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1268
Sorting of Diacriticals
« Reply #5 on: July 22, 2015, 01:54:59 am »

Really? Last time I tried these were kicked to the end of the alphabet. Can you make sure all these are included:

à   
á   
â   
ä   
å   
À     
Á   
   
à  
Å
ç   
Ç   
ê   
é   
ë     
è   
Ê   
Ë     
É   
È   
ï   
í   
î   
ì     
Í   
Ì   
Π  
Ï     
ñ   
Ñ   
š   
Š   
ú   
ü   
û   
ù   
Ù   
Ú   
Ü 
Û   
ÿ   
Ÿ   
ý   
Ý   
ž   
Ž   

plus:

æ     
Æ     

equal = ae and AE

œ   
Œ   

equal = oe or OE

and (this would be great):

ß = ss

This letter is very common in German names and should be alphabetized as a "ss"

(Of course technically umlauted vowels should be alphabetized "ae" "oe" etc.. but I'm not pushing my luck)

Should all those the be included? æ, ø and å are at the end of the alphabet in the countries using those letters
Logged

Sesam

  • World Citizen
  • ***
  • Posts: 137
Sorting of Diacriticals
« Reply #6 on: July 22, 2015, 03:19:21 am »

Should all those the be included? æ, ø and å are at the end of the alphabet in the countries using those letters

I don't think they should, even if some bands use these characters for purely stylistic purposes. I know åäö is at the very end of the alphabet in at least Sweden and Finland (those are not used to replace A or O, they are completely different characters).
Logged

Denti

  • Citizen of the Universe
  • *****
  • Posts: 593
Sorting of Diacriticals
« Reply #7 on: July 24, 2015, 08:36:37 pm »

Sorting should already ignore those.

The equality is this:
 ò
 ó
 ô
 ö
 ø
All convert to o.

I'd still like to know if this is really supposed to work this way. For me, these letters sort one place AFTER o, but before p. They do not convert to "o." Should they?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Sorting of Diacriticals
« Reply #8 on: July 30, 2015, 10:17:35 am »

Really? Last time I tried these were kicked to the end of the alphabet. Can you make sure all these are included:

à   
á   
â   
ä   
å   
À     
Á   
   
à  
Å
ç   
Ç   
ê   
é   
ë     
è   
Ê   
Ë     
É   
È   
ï   
í   
î   
ì     
Í   
Ì   
Π  
Ï     
ñ   
Ñ   
š   
Š   
ú   
ü   
û   
ù   
Ù   
Ú   
Ü 
Û   
ÿ   
Ÿ   
ý   
Ý   
ž   
Ž   

Thanks for the list.

In the coming builds of MC21:
Changed: Added a few more diacriticals to the list of things for ignoring during sorting.

There were only a couple on your list that weren't already there, but it's nice to flesh it out completely.
Logged
Matt Ashland, JRiver Media Center

Denti

  • Citizen of the Universe
  • *****
  • Posts: 593
Sorting of Diacriticals
« Reply #9 on: August 03, 2015, 08:15:27 am »

Thanks for the list.

In the coming builds of MC21:
Changed: Added a few more diacriticals to the list of things for ignoring during sorting.

There were only a couple on your list that weren't already there, but it's nice to flesh it out completely.

Can you clarify if these are supposed to be sorted as if there were no diacritical, or as one letter after the non-diacritical letter?

Example: currently MC20 sorts

Ceclia Bartoli
Béla Bartók

but of course it should be the other way around, because k comes before l. The ó is being sorted immediately after o, instead of being sorted *as* o.
Logged

Denti

  • Citizen of the Universe
  • *****
  • Posts: 593
Sorting of Diacriticals
« Reply #10 on: August 17, 2015, 07:23:10 pm »

Can you clarify if these are supposed to be sorted as if there were no diacritical, or as one letter after the non-diacritical letter?

Example: currently MC20 sorts

Ceclia Bartoli
Béla Bartók

but of course it should be the other way around, because k comes before l. The ó is being sorted immediately after o, instead of being sorted *as* o.

I'd love to have this question answered.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Sorting of Diacriticals
« Reply #11 on: August 18, 2015, 06:41:14 am »

Can you clarify if these are supposed to be sorted as if there were no diacritical, or as one letter after the non-diacritical letter?

Example: currently MC20 sorts

Ceclia Bartoli
Béla Bartók

but of course it should be the other way around, because k comes before l. The ó is being sorted immediately after o, instead of being sorted *as* o.

Diacriticals should sort the same as non-diacriticals.  In other words, ó and o will sort perfectly equivalent.
Logged
Matt Ashland, JRiver Media Center

Denti

  • Citizen of the Universe
  • *****
  • Posts: 593
Sorting of Diacriticals
« Reply #12 on: August 18, 2015, 07:33:54 am »

Diacriticals should sort the same as non-diacriticals.  In other words, ó and o will sort perfectly equivalent.

OK, so what might I be doing wrong for this not to be working for me?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Sorting of Diacriticals
« Reply #13 on: August 18, 2015, 08:08:33 am »

Well, I was wrong.  We weren't ignoring the diacritical during sorting.

But I think we should, so next build:
Changed: Sorting ignores diacriticals instead of sorting them special.
Logged
Matt Ashland, JRiver Media Center

rudyrednose

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 344
  • nothing more to say...
Re: Sorting of Diacriticals
« Reply #14 on: August 18, 2015, 09:27:57 am »

next build:
Changed: Sorting ignores diacriticals instead of sorting them special.
Great news !   Sorting them special always annoyed me (in Québec, we also speak french).
Les francophones vont vous aimer Matt, so will the other users of diacriticals  ;D
Logged

Denti

  • Citizen of the Universe
  • *****
  • Posts: 593
Re: Sorting of Diacriticals
« Reply #15 on: August 18, 2015, 12:28:13 pm »

Well, I was wrong.  We weren't ignoring the diacritical during sorting.

But I think we should, so next build:
Changed: Sorting ignores diacriticals instead of sorting them special.

Excellent!!
Logged
Pages: [1]   Go Up