Skip to main content
Topic: [fb2k-0.9.6.8] Weird sort order in playlist (Read 3570 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[fb2k-0.9.6.8] Weird sort order in playlist

Hi!

When I sort my playlist I get following:

0...
1...
...
9...
[space]...
#...
(...
[...
+...
A...
...
Z...


i.e. the titles with starting numbers are before the titles with space and symbols, while expected: space, symbols, numbers, letters. Is it a bug or such new feature of sorting? Can I change the sort order (collation sequence) manually?

Thanks!



[fb2k-0.9.6.8] Weird sort order in playlist

Reply #3
I'm not seeing this behavior. I created a bunch of text files from the command prompt, named variations of boom, which both Explorer and foobar2000 (using Sort by File Path, or Sort by... %path_sort%) sorted as follows:

" boom.txt", !boom.txt, $boom.txt, 7boom.txt, 123boom.txt, 456boom.txt, boom.txt

Are you sure there is not some other factor going into the sort pattern?

[fb2k-0.9.6.8] Weird sort order in playlist

Reply #4
I'm not seeing this behavior. I created a bunch of text files from the command prompt, named variations of boom, which both Explorer and foobar2000 (using Sort by File Path, or Sort by... %path_sort%) sorted as follows:

" boom.txt", !boom.txt, $boom.txt, 7boom.txt, 123boom.txt, 456boom.txt, boom.txt

Are you sure there is not some other factor going into the sort pattern?


Hm... for me "boom.mp3" example isn't working:
0boom.mp3
" boom.mp3"
[boom.mp3
aboom.mp3

What maybe wrong?

[fb2k-0.9.6.8] Weird sort order in playlist

Reply #5
I'm not seeing this behavior. I created a bunch of text files from the command prompt, named variations of boom, which both Explorer and foobar2000 (using Sort by File Path, or Sort by... %path_sort%) sorted as follows:

" boom.txt", !boom.txt, $boom.txt, 7boom.txt, 123boom.txt, 456boom.txt, boom.txt

Are you sure there is not some other factor going into the sort pattern?


Sorry, forgot to tell: I use Columns UI, maybe the problem is within?...

[fb2k-0.9.6.8] Weird sort order in playlist

Reply #6
I get the expected result clicking a column header in the CUI playlist, at least.

1. How/from where are you sorting? Give exact steps.
2. What OS? StrCmpLogicalW behaviours vary between operating systems. Did "boom.mp3" example sort correctly in Explorer?
3. Have you updated foobar2000, Columns UI etc. to latest version?
.

[fb2k-0.9.6.8] Weird sort order in playlist

Reply #7
I get the expected result clicking a column header in the CUI playlist, at least.

1. How/from where are you sorting? Give exact steps.
2. What OS? StrCmpLogicalW behaviours vary between operating systems. Did "boom.mp3" example sort correctly in Explorer?
3. Have you updated foobar2000, Columns UI etc. to latest version?


0. clicking on header gets same result
1. anywhere: "Sort incoming files by %path_sort%", "Sort by File Path" from main/context menus
2. Windows XP Pro SP2, NoStrCmpLogical=1, in explorer is all correct
3. yes, foobar 0.9.6.8 and cui 0.3.6.9 (didn't check experimental one)
also tried to remove all third-party components consistently (excpet CUI of course) - the same

[fb2k-0.9.6.8] Weird sort order in playlist

Reply #8
I get the expected result clicking a column header in the CUI playlist, at least.

1. How/from where are you sorting? Give exact steps.
2. What OS? StrCmpLogicalW behaviours vary between operating systems. Did "boom.mp3" example sort correctly in Explorer?
3. Have you updated foobar2000, Columns UI etc. to latest version?


Have updated CUI to 0.3.7.8 - the same result

[fb2k-0.9.6.8] Weird sort order in playlist

Reply #9
I get the expected result clicking a column header in the CUI playlist, at least.

1. How/from where are you sorting? Give exact steps.
2. What OS? StrCmpLogicalW behaviours vary between operating systems. Did "boom.mp3" example sort correctly in Explorer?
3. Have you updated foobar2000, Columns UI etc. to latest version?


Also tried CLEAN foobar 0.9.6.8 on different PCs with different OSes (XPSP2, XPSP3, 2003SP2, CLEAN VMwared XPSP3) - nothing - numbers are before symbols

[fb2k-0.9.6.8] Weird sort order in playlist

Reply #10
What language are you using? Some code-pages have different sort orders.

[fb2k-0.9.6.8] Weird sort order in playlist

Reply #11
"Sort incoming files by %path_sort%" might be the reason, because sorting in this case comes from the OS...

[fb2k-0.9.6.8] Weird sort order in playlist

Reply #12
What language are you using? Some code-pages have different sort orders.


CP-1251, but it doesn't matters, because I tested 0.9.6.8 on English (US) CP-1250 system
%path_sort%, or %_path%, or %_filename% - the same results

[fb2k-0.9.6.8] Weird sort order in playlist

Reply #13
What language are you using? Some code-pages have different sort orders.


CP-1251, but it doesn't matters, because I tested 0.9.6.8 on English (US) CP-1250 system
%path_sort%, or %_path%, or %_filename% - the same results


try this:

sort incoming files by:
[$stripprefix(%album artist%,the,a)] | [%date%] | [%album%] | [%discnumber%] | [%tracknumber%]



[fb2k-0.9.6.8] Weird sort order in playlist

Reply #14
What language are you using? Some code-pages have different sort orders.


CP-1251, but it doesn't matters, because I tested 0.9.6.8 on English (US) CP-1250 system
%path_sort%, or %_path%, or %_filename% - the same results


try this:

sort incoming files by:
[$stripprefix(%album artist%,the,a)] | [%date%] | [%album%] | [%discnumber%] | [%tracknumber%]


I have no ID3/APE tags in my files, that's why I use paths/filenames.

[fb2k-0.9.6.8] Weird sort order in playlist

Reply #15
2all

tested: foobar2000 0.8.x, 0.9.4.5 and 0.9.5.0 work correctly.
0.9.5.1+ NOT!

 
SimplePortal 1.0.0 RC1 © 2008-2020