I know this can be achieved with the use of some filters, however it would be useful to be able to do it by a shortcut or by clicking the attr column as well as is done for name, size, ext and date.
Thanks

Moderators: Hacker, petermad, Stefan2, white
Well, that's true but sorting sometimes (in my case most of the times) is used more like a grouping method for locating a desirable file or group of files other than a sorting method.ghisler(Author) wrote:This isn't currently done because there is no logical way to sort by attributes. What should be sorted first? Read only? Archive? Hidden? System?
Yes you are correct, there is not a simple way, However There are a couple of ways:ghisler(Author) wrote:This isn't currently done because there is no logical way to sort by attributes. What should be sorted first? Read only? Archive? Hidden? System?
tcebob wrote:If you value each attributeas a power of 2 then every combination will have a unique key number. Thus:
_ = 0
A = 1 = 1b
R = 2 = 10b
H = 4 = 100b
S = 8 = 1000b
So, for example,
_ A R _ S = 11 = 1011
Now we have a basis for sort. If I want to extract all A's I just look for the 0001s, etc.
rs
Yes, but what attribute would get the lowest number (and priority), and what the highest? For example, some people would want to see all read only files first, others all system files, and others all files with the archive bit - it depends on the user's needs!If you value each attributeas a power of 2 then every combination will have a unique key number.
I don't think that this is feasible - pleople click 15 times only to recognize that the one they wanted was 1 click back...Given that we have 16 possible combinations with the 4 attributes you can just cycle over all of them.
How about the same way MS explorer does it, as words.ghisler(Author) wrote:This isn't currently done because there is no logical way to sort by attributes. What should be sorted first? Read only? Archive? Hidden? System?
Yes, that's what I said on my first post also.petergus wrote:How about the same way MS explorer does it, as words.