Sort does not respect letters with diacritics

Issue description:

Hi,

I have been using Symfonium for a while and it’s been great. However, one issue I’m having is that the sorting by name of album artists, tracks and so on, does not respect letters with diacritics. Those are placed at the end of the list. “Use ASCII sort” option in settings is disabled, but enabling it does not change a thing. I’m providing a screenshot to demonstrate the issue.

Logs:

Upload description: eddie1506-sorting

Additional information:

 

 

Reproduction steps:

 

 

Media provider:

Google Drive

Screenshots:

 

    

The use ascii sort does not seems disabled in those logs. Be sure to uncheck the sync and check what sorting you use.

@Tolriq I’m not sure what do you mean by “uncheck the sync”? As I wrote in my original post, “Use ASCII sort” option does not make any difference whether it is disabled or enabled so I might’ve generated the logs with it enabled while testing.

And so provide the proper logs with it disabled ? Because it can’t work with it enabled …

Disable, force sync then check by what you sort in those lists.

I have uploaded the logs after a new sync with “Use ASCII sort” disabled. The code is “eddie1506-sorting-2”. The situation is the same as in the first screenshot. Names with diacritics are at the end again.

In what screen are you with what sort?
There’s not a single query in the logs with the use ascii disabled.

On the homepage, I click on “Album artists” or “Tracks” at the top.

I can see the sort is set to “Sort name”, “Ascending”, yet the relevant names are at the bottom of the list.

Same goes if I go into library and then browse the remote files directly.

Looks like an issue with the device sqlite unicode support.

Does search for Zivo find Živo blato ?

Yep

Can you upload a song from Dubrivo to https://upload.symfonium.app and tell me when done so I can see how an AOSP device sort those?

Done! File name is “Đubrivo - Večera uz svijeće.mp3”.

Ok thanks was able to reproduce, strange that it does not works for those chars but for most of the others.

Should be fixed in next release. (Keep Use Ascii sort disabled)

Just to make sure you got them all, the following chars from my library are displayed at the end:

ČĆŽŠĐÉÇÀÅ + any lowercase character (but I’m not sure if this lowercase sorting is intended or not)

Additionaly ¡ and ¿ should maybe go to the beginning instead of the end, but I’m also not sure if that’s working as intended or not.