Page 1 of 1

[fixed: 96] Playlist alphabetizing with special symbols

PostPosted: February 20th, 2008, 10:58 pm
by sp3ctum
I noticed the Xion playlist handles debatable song names differently than windows explorer. For example, I have these artists in my playlist:

D'influence
D'Sound
De-Phazz
Deadbeats

(in that order, among other things)

but in windows explorer they're arranged thus:

Deadbeats
D'influence
De-Phazz
D'Sound

(among tons of other files, but that's the basic idea)

I think Xion thinks the symbols appear before letters in the alphabet, while explorer seems to ignore them (which I think is how it should be).
Just thought I'd report this. :?

PostPosted: February 21st, 2008, 9:46 am
by Cliff Cawley
I do a very simple Alpha numeric sort that uses the Ascii table order.

I'll look into a better algorithm to do sorting similar to Windows Explorer for a future release.

Thanks!
Cliff :)

PostPosted: March 30th, 2008, 7:21 pm
by Cliff Cawley
Ok I've implemented a Natural sorting algorithm.

It now reproduces everything very similar to Windows Explorer. Just one thing, your list order is different to my algorithm (and now my copy of Windows Explorer)

I.e.

Deadbeats
D'influence
De-Phazz
D'Sound

If its supposed to ignore a non alphanumeric character and continue comparing, then the correct output would be:

Deadbeats
De-Phazz
D'influence
D'Sound

Reason for this, is that if you ignore the ' character, then the next character to compare with is i, which comes after e in my alphabet ;)

Anyway, this sorting feature will be available in build 96.

Let me know how it goes for you (will be release in Beta form soon)

Cliff :)