Sorting windows property System.Generic.Integer

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
reedham
Posts: 4
Joined: Thu Aug 25, 2022 8:49 pm

Sorting windows property System.Generic.Integer

Post by reedham »

Hi,

I want to be able to sort my files with an arbitrary number set using the windows property system under System.Generic.Integer.
I have added an integer to number to my file properties.
Then I created property indexes for System.Generic.Integer in everything.

Functions like

Code: Select all

property-system-integer:System.Generic.Integer:>=0
seem to work just fine but when using

Code: Select all

sort:property-system-integer:System.Generic.Integer
the values are not sorted numerically.

Any help is appreciated.
Last edited by reedham on Tue Feb 06, 2024 5:20 am, edited 1 time in total.
void
Developer
Posts: 15352
Joined: Fri Oct 16, 2009 11:31 pm

Re: Sorting windows property System.Generic.Integer

Post by void »

Please try the following sort search:

sort:property-system:System.Generic.Integer



Please also consider the following search:

tonumber:property-system:system.generic.integer:>=0

tonumber:
property-system:
property-system-integer:



For reference:

Code: Select all

\AppData\Roaming\Microsoft\Windows\Libraries\ addcolumn:property-system:System.Generic.Integer sort:property-system:System.Generic.Integer tonumber:property-system:system.generic.integer:>=0
therube
Posts: 4610
Joined: Thu Sep 03, 2009 6:48 pm

Re: Sorting windows property System.Generic.Integer

Post by therube »

If I may ask, what is a "System.Generic.Integer"?
Is it, System.Generic Class?
And just what are these integer numbers that voids example returns & why for the items listed?
void
Developer
Posts: 15352
Joined: Fri Oct 16, 2009 11:31 pm

Re: Sorting windows property System.Generic.Integer

Post by void »

System.Generic.Integer can be used to set a number to a file/folder.

It only has meaning to the user.

It can be useful for sorting.



Windows appears to pull the version from .library-ms files for the generic number.
I was just using this as an example as its the only files I could find on my systems with a System.Generic.Integer value.
reedham
Posts: 4
Joined: Thu Aug 25, 2022 8:49 pm

Re: Sorting windows property System.Generic.Integer

Post by reedham »

Thanks!

Code: Select all

sort:property-system:System.Generic.Integer
This works and is reflected in the details view if I add the index as a column.
Post Reply