If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Rate Thread | Display Modes |
#1
|
|||
|
|||
Odd file sort order
I'm doing images of my various systems and collecting them on one hard disk. I notice a very "wrong" sort ordering when viewing the files. The names in question in the order the appear are INTEL-FRONTROOM INTELI5 INTEL-RECROOM INTEL-SUNPORCH Shouldn't the INTELI5 entry appear at the bottom of this collection. Think ascii character "-" comes before any letters but I haven't checked. Reversing sort order keeps the anamoly, just reversed. It's as if the hyphen is stripped from the filename before sorting. Displayed on both Home and Pro 32 & 64 bit. Now why the hell would anyone do that??? |
Ads |
#2
|
|||
|
|||
Odd file sort order
In message , pjp
writes: I'm doing images of my various systems and collecting them on one hard disk. I notice a very "wrong" sort ordering when viewing the files. The names in question in the order the appear are INTEL-FRONTROOM INTELI5 INTEL-RECROOM INTEL-SUNPORCH Shouldn't the INTELI5 entry appear at the bottom of this collection. Think ascii character "-" comes before any letters but I haven't checked. Reversing sort order keeps the anamoly, just reversed. It's as if the hyphen is stripped from the filename before sorting. Displayed on both Home and Pro 32 & 64 bit. Now why the hell would anyone do that??? Well, a _reason_ for doing it is that some entity may have a collection of things sorted - part numbers, for example - that could be keyed in by a variety of people, some of whom faithfully copy all punctuation, some of whom ignore it, some of whom convert anything into a dash (or dot, or underline, or ...); in order to sort/find such a list of entities, one approach is to ignore all punctuation (and spaces). Whether Windows (Explorer?) has such an ability - and whether it is turned on by default, or even whether it _can_ be turned on or off - I don't know. There _is_ at least one other sort control option - called something like "intelligent numbers". It came in with - I think - XP, and is on by default, and knows about numbers. On the older systems (or if you turn this off), the numbers 1 to 12 would be sorted as 1, 10, 11, 12, 2, .. 9 whereas with it on, they're sorted 1, 2, ... 9, 10, 11, 12. (Before this, if you wanted such a set of filenames to sort properly, you had to put a leading zero into the filenames - 01, ... 09, 10, 11, 12.) -- J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf One of my tricks as an armchair futurist is to "predict" things that are already happening and watch people tell me it will never happen. Scott Adams, 2015-3-9 |
#3
|
|||
|
|||
Odd file sort order
pjp wrote:
I'm doing images of my various systems and collecting them on one hard disk. I notice a very "wrong" sort ordering when viewing the files. The names in question in the order the appear are INTEL-FRONTROOM INTELI5 INTEL-RECROOM INTEL-SUNPORCH Shouldn't the INTELI5 entry appear at the bottom of this collection. Think ascii character "-" comes before any letters but I haven't checked. Reversing sort order keeps the anamoly, just reversed. It's as if the hyphen is stripped from the filename before sorting. Displayed on both Home and Pro 32 & 64 bit. Now why the hell would anyone do that??? Sorting WHAT? Windows Explorer? There are lots of file managers or other file tools. If using Windows Explorer, are you clicking on the Name column header to sort on that column? You show what appear to be only the filenames, so you have the filetype hidden. Configure Windows Explorer to show the extension (filetype): Tools - Folder Options - View tab, disable the "Hide extensions for known file types" option. Could be you are mixing filetypes in your sort. |
#4
|
|||
|
|||
Odd file sort order
|
#5
|
|||
|
|||
Odd file sort order
On 01/08/2018 22:47:40, VanguardLH wrote:
pjp wrote: I'm doing images of my various systems and collecting them on one hard disk. I notice a very "wrong" sort ordering when viewing the files. The names in question in the order the appear are INTEL-FRONTROOM INTELI5 INTEL-RECROOM INTEL-SUNPORCH Shouldn't the INTELI5 entry appear at the bottom of this collection. Think ascii character "-" comes before any letters but I haven't checked. Reversing sort order keeps the anamoly, just reversed. It's as if the hyphen is stripped from the filename before sorting. Displayed on both Home and Pro 32 & 64 bit. Now why the hell would anyone do that??? Sorting WHAT? Windows Explorer? There are lots of file managers or other file tools. If using Windows Explorer, are you clicking on the Name column header to sort on that column? You show what appear to be only the filenames, so you have the filetype hidden. Configure Windows Explorer to show the extension (filetype): Tools - Folder Options - View tab, disable the "Hide extensions for known file types" option. Could be you are mixing filetypes in your sort. No, it is not that, it is a windows explorer thing and there is nothing to I can see to overcome it. It also happens in win 10 as well. Directory Opus sorts those files 'correctly' or how PJP would have expected them to be sorted. -- mick |
#6
|
|||
|
|||
Odd file sort order
|
#8
|
|||
|
|||
Odd file sort order
pjp wrote:
In article , says... pjp wrote: I'm doing images of my various systems and collecting them on one hard disk. I notice a very "wrong" sort ordering when viewing the files. The names in question in the order the appear are INTEL-FRONTROOM INTELI5 INTEL-RECROOM INTEL-SUNPORCH Shouldn't the INTELI5 entry appear at the bottom of this collection. Think ascii character "-" comes before any letters but I haven't checked. Reversing sort order keeps the anamoly, just reversed. It's as if the hyphen is stripped from the filename before sorting. Displayed on both Home and Pro 32 & 64 bit. Now why the hell would anyone do that??? Sorting WHAT? Windows Explorer? There are lots of file managers or other file tools. If using Windows Explorer, are you clicking on the Name column header to sort on that column? You show what appear to be only the filenames, so you have the filetype hidden. Configure Windows Explorer to show the extension (filetype): Tools - Folder Options - View tab, disable the "Hide extensions for known file types" option. Could be you are mixing filetypes in your sort. No that's certainly not relevant seeing as I'm specifically talking about folders here. "when viewing the files". Sure looked like you were asking about files, especially since folders weren't mentioned in your starting post. The examples I gave are all image backups folders made by Windows backup. In other words they are simply the names of the various pcs and used as folder names, the image backup creates the folders. There's nothing specifically special about any of them, just have some files and folders inside them. Just seems so odd that the hyphen for all intents and purposes doesn't seem to exist for the sorting. It must get stripped out rather than even converted to a space by the behaviour it exibits, e.g. INTEL-RECROOM becomes INTELRECROOM and that's what it uses to do the sorting. As I said very odd and not expected if nothing else. Perhaps it has to do with intuitive numbering order established since Windows XP. See: https://www.askvg.com/how-to-disable...nd-7-explorer/ See if reverting to literal sorting order makes a change in how the folders are arranged in Windows Explorer. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|