Column sorting problem
Posted: 01 Jul 2014 21:48
This concerns XY V14.20.0201
I've got a folder that contains the following five columns:
The problem is that with this sort order, some files are sorted first on the "Type" and only then on "Modified", i.e. files with modifications dates "now" (where "now" means more recent than any others) do not end up at the top of the screen! Some further experimentation leads me to believe that once I've done this major-minor (Modified/Type) sort, there is no way of removing either of these fields from some internal sort order variable by trying to sort on only one of them.
However, once I click on any of the other three (Name/Size/Attr) and follow that by a click on "Modified", the sort order is correct and the "now" files are at the top (or bottom).
The attached WinRAR archive, which contains 7 files (stored with all three NTFS dates, just in case) shows the problem.
If you extract it, it will create a folder 01-data, containing
country.wiki, 9,447 bytes, 2014-07-01 14:04:00
days.h-h, 32,949 bytes, 2014-07-01 14:04:00
log2014.wiki, 9,307 bytes, 2014-07-01 14:04:00
tycona.txt, 12,207 bytes, 2014-07-01 20:54:19
tz.txt, 5,629 bytes, 2014-07-01 20:46:48
tzcross.txt, 4,541 bytes, 2014-06-13 19:01:00
year.wiki, 14,155 bytes, 2014-07-01 14:04:00
Click on any of the columns and the data will be sorted in Ascending order, except for, and this may be significant, "Modified" which is sorted in Descending order.
Sort on "Modified" as major and then sort on Type (shift-click) as minor. The order will be
days.h-h, 32,949 bytes, 2014-07-01 14:04:00
tycona.txt, 12,207 bytes, 2014-07-01 20:54:19
tz.txt, 5,629 bytes, 2014-07-01 20:46:48
log2014.wiki, 9,307 bytes, 2014-07-01 14:04:00
year.wiki, 14,155 bytes, 2014-07-01 14:04:00
country.wiki, 9,447 bytes, 2014-07-01 14:04:00
tzcross.txt, 4,541 bytes, 2014-06-13 19:01:00
and that is wrong, wrong, wrong, tycona.txt should be at the top as "Modified" is the major sort field. Having set this major/minor sort order, now sort on "Modified", (do it twice) and the result will be
days.h-h, 32,949 bytes, 2014-07-01 14:04:00
tycona.txt, 12,207 bytes, 2014-07-01 20:54:19
tz.txt, 5,629 bytes, 2014-07-01 20:46:48
log2014.wiki, 9,307 bytes, 2014-07-01 14:04:00
year.wiki, 14,155 bytes, 2014-07-01 14:04:00
country.wiki, 9,447 bytes, 2014-07-01 14:04:00
tzcross.txt, 4,541 bytes, 2014-06-13 19:01:00
Which is still wrong, the two .txt files should be at the top
Now sort on "Name", then sort on "Modified", and this time the sort on "Modified" is correct. Now shift-click on "Name" and discover that once again the major (="Modified") column is ignored, and the two .txt files that should be at the top (or bottom) are in fact sorted somewhere in the middle.
Well enough explained?
I've got a folder that contains the following five columns:
- Name
- Size
- Type
- Modified
- Attr
- Modified (Descending)
- Type (Ascending)
The problem is that with this sort order, some files are sorted first on the "Type" and only then on "Modified", i.e. files with modifications dates "now" (where "now" means more recent than any others) do not end up at the top of the screen! Some further experimentation leads me to believe that once I've done this major-minor (Modified/Type) sort, there is no way of removing either of these fields from some internal sort order variable by trying to sort on only one of them.
However, once I click on any of the other three (Name/Size/Attr) and follow that by a click on "Modified", the sort order is correct and the "now" files are at the top (or bottom).
The attached WinRAR archive, which contains 7 files (stored with all three NTFS dates, just in case) shows the problem.
If you extract it, it will create a folder 01-data, containing
country.wiki, 9,447 bytes, 2014-07-01 14:04:00
days.h-h, 32,949 bytes, 2014-07-01 14:04:00
log2014.wiki, 9,307 bytes, 2014-07-01 14:04:00
tycona.txt, 12,207 bytes, 2014-07-01 20:54:19
tz.txt, 5,629 bytes, 2014-07-01 20:46:48
tzcross.txt, 4,541 bytes, 2014-06-13 19:01:00
year.wiki, 14,155 bytes, 2014-07-01 14:04:00
Click on any of the columns and the data will be sorted in Ascending order, except for, and this may be significant, "Modified" which is sorted in Descending order.
Sort on "Modified" as major and then sort on Type (shift-click) as minor. The order will be
days.h-h, 32,949 bytes, 2014-07-01 14:04:00
tycona.txt, 12,207 bytes, 2014-07-01 20:54:19
tz.txt, 5,629 bytes, 2014-07-01 20:46:48
log2014.wiki, 9,307 bytes, 2014-07-01 14:04:00
year.wiki, 14,155 bytes, 2014-07-01 14:04:00
country.wiki, 9,447 bytes, 2014-07-01 14:04:00
tzcross.txt, 4,541 bytes, 2014-06-13 19:01:00
and that is wrong, wrong, wrong, tycona.txt should be at the top as "Modified" is the major sort field. Having set this major/minor sort order, now sort on "Modified", (do it twice) and the result will be
days.h-h, 32,949 bytes, 2014-07-01 14:04:00
tycona.txt, 12,207 bytes, 2014-07-01 20:54:19
tz.txt, 5,629 bytes, 2014-07-01 20:46:48
log2014.wiki, 9,307 bytes, 2014-07-01 14:04:00
year.wiki, 14,155 bytes, 2014-07-01 14:04:00
country.wiki, 9,447 bytes, 2014-07-01 14:04:00
tzcross.txt, 4,541 bytes, 2014-06-13 19:01:00
Which is still wrong, the two .txt files should be at the top
Now sort on "Name", then sort on "Modified", and this time the sort on "Modified" is correct. Now shift-click on "Name" and discover that once again the major (="Modified") column is ignored, and the two .txt files that should be at the top (or bottom) are in fact sorted somewhere in the middle.
Well enough explained?