When I say “alphabetical order”, I mean “alphabetical order”
11–20 of 385 posts
Re: When I say “alphabetical order”, I mean “alphabetical order”
#12If I understand the article, the author wants magic :) I take it to mean they want the system to know file_9.txt is less then file_10.txt. I never saw that happen in any OS, so I do not know what he is referring to. Maybe whatever that old system was, it sorted by create time as opposed to file name. So, the author can try and create "aisort" that will look at all file names and add leading zeros to the file numeric…
Re: When I say “alphabetical order”, I mean “alphabetical order”
#13If I understand the article, the author wants magic :) I take it to mean they want the system to know file_9.txt is less then file_10.txt. I never saw that happen in any OS, so I do not know what he is referring to. Maybe whatever that old system was, it sorted by create time as opposed to file name. So, the author can try and create "aisort" that will look at all file names and add leading zeros to the file numeric…
The polar opposite, actually.
Re: When I say “alphabetical order”, I mean “alphabetical order”
#14If I understand the article, the author wants magic :) I take it to mean they want the system to know file_9.txt is less then file_10.txt. I never saw that happen in any OS, so I do not know what he is referring to. Maybe whatever that old system was, it sorted by create time as opposed to file name. So, the author can try and create "aisort" that will look at all file names and add leading zeros to the file numeric…
Re: When I say “alphabetical order”, I mean “alphabetical order”
#15"I created the Alphanum Algorithm to solve this problem. The Alphanum Algorithm sorts strings containing a mix of letters and numbers. Given strings of mixed characters and numbers, it sorts the numbers in value order, while sorting the non-numbers in ASCII order. The end result is a natural sorting order." https://web.archive.org/web/20210207124255/http://www.daveko...
Re: When I say “alphabetical order”, I mean “alphabetical order”
#16https://www.unicode.org/reports/tr10/#Contextual_Sensitivity : “There are additional complications in certain languages, where the comparison is context sensitive and depends on more than just single characters compared directly against one another, […] Numbers. A customization may be desired to allow sorting numbers in numeric order. If strings including numbers are merely sorted alphabetically, the string “A-10” co…
But -10 is smaller than -2, right?
Re: When I say “alphabetical order”, I mean “alphabetical order”
#17If I understand the article, the author wants magic :) I take it to mean they want the system to know file_9.txt is less then file_10.txt. I never saw that happen in any OS, so I do not know what he is referring to. Maybe whatever that old system was, it sorted by create time as opposed to file name. So, the author can try and create "aisort" that will look at all file names and add leading zeros to the file numeric…
No the author is saying the opposite. They expect file9.txt to be after file10.txt, but it many modern operating systems, it isn’t!
So my original comment kind of stands but in a opposite way.
I have never see file_9.txt sorted before file_10.txt, I just tested it on OpenBSD and I got this, which I have always seen:
$ ls|sort
file_1.txt
file_10.txt
file_12.txt
file_2.txt
file_20.txt
file_3.txt
file_9.txt
Re: When I say “alphabetical order”, I mean “alphabetical order”
#18If I understand the article, the author wants magic :) I take it to mean they want the system to know file_9.txt is less then file_10.txt. I never saw that happen in any OS, so I do not know what he is referring to. Maybe whatever that old system was, it sorted by create time as opposed to file name. So, the author can try and create "aisort" that will look at all file names and add leading zeros to the file numeric…
>I take it to mean they want the system to know file_9.txt is less then file_10.txt. The polar opposite, actually.
Re: When I say “alphabetical order”, I mean “alphabetical order”
#19Am I out of touch? No, it's the operating systems who are wrong
0 - numbers are not part of the alphabet.
Re: When I say “alphabetical order”, I mean “alphabetical order”
#201. Sync all equipments to the same clock.
2. Sort by Date Taken, if unavailable, sort by Date Created.