Skip to main content

Topic: Facets sort order vs Win7 sort order bug? (Read 2162 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • mjm716
  • [*][*][*]
Facets sort order vs Win7 sort order bug?
Hi,

I have a sort issue that I think may be a Facets bug. Facets doesn't follow the numerical sort settings in Win OS (versions > 2000), which can be found here:

run>gpedit.msc>USER Config>Administrative Templates>Windows Components>Windows Explorer>turn off numerical sorting in Win Explorer

for example the following folder sort order is what I see in Win Explorer (I have the above Win setting enabled):

01
02
03
04
05
111
13
1C
22
23
31
3A
44

however facets still sorts as:
01
1C
02
03
3A
04
05
13
22
23
31
44
111

am I missing something in a Facets preference maybe?


  • ruebe
  • [*][*][*]
Facets sort order vs Win7 sort order bug?
Reply #1
i guess facets doesn't care whatever sort order you specify in the registry but only what you put into preferences > media library > facets > default sorting order

  • mjm716
  • [*][*][*]
Facets sort order vs Win7 sort order bug?
Reply #2
i guess facets doesn't care whatever sort order you specify in the registry but only what you put into preferences > media library > facets > default sorting order


Unfortunately, it's not what is *in* the default order, it's *how* it's sorted that seems to be the problem [bug]

  • ruebe
  • [*][*][*]
Facets sort order vs Win7 sort order bug?
Reply #3
what did you put there?

  • BenB
  • [*][*][*][*][*]
Facets sort order vs Win7 sort order bug?
Reply #4
I understand what you want Facets to do, but I'm curious to know why you want it to. Perhaps there's another way to do what you're ultimately trying to achieve, but we'd need to know what that is to help you.

I wouldn't call this a bug. Sorting is defined in foobar in more than one place, and some components have the capability to define a sort. I'd assume that if a sort were left undefined, it would default to a sort defined by the component's developer or it would inherit a sort defined in foobar.

  • mjm716
  • [*][*][*]
Facets sort order vs Win7 sort order bug?
Reply #5
I understand what you want Facets to do, but I'm curious to know why you want it to. Perhaps there's another way to do what you're ultimately trying to achieve, but we'd need to know what that is to help you.

I wouldn't call this a bug. Sorting is defined in foobar in more than one place, and some components have the capability to define a sort. I'd assume that if a sort were left undefined, it would default to a sort defined by the component's developer or it would inherit a sort defined in foobar.


thanks, whether I leave the facets default sort order empty or use something like %path_sort% the result is the same.

It does not inherit the sort style of my Win7 default setting. Perhaps it is inheriting it from somewhere else within foobar?

Again, refer to my example above how my Win Explorer actually sorts (correct) and how Facets is sorting (incorrect).

  • kode54
  • [*][*][*][*][*]
  • Administrator
Facets sort order vs Win7 sort order bug?
Reply #6
That Group/Local Policy setting obviously only applies to Explorer itself, not any applications that use the relevant Win32 function for string comparison when sorting.

  • mjm716
  • [*][*][*]
Facets sort order vs Win7 sort order bug?
Reply #7
That Group/Local Policy setting obviously only applies to Explorer itself, not any applications that use the relevant Win32 function for string comparison when sorting.


superb reply and explains it! 

but now any lead toward how to apply such a sort default beyond explorer?

  • kode54
  • [*][*][*][*][*]
  • Administrator
Facets sort order vs Win7 sort order bug?
Reply #8
Add an API to the player, and make a switch for it, I guess. Currently, several things just use StrCmpLogicalW directly, which has no switch.