Hi McUsrII,
Your points are what actually made me understand how the finder’s sort command is actually working. i.e making me pay more attention to whats going on.
Luckily I have a 10.6.8 Mac.
After just dusting it off. I ran the code with and without the considering clause.
And there is no difference in the results. Both return the correct order depending on the finder sort property I specify.
by name:
{"19104.jpeg", "19110.jpeg", "19115.jpeg", "19130.jpeg", "19137.jpeg", "190916.jpeg", "190926.jpeg", "190933.jpeg", "190938.jpeg", "190944.jpeg", "190948.jpeg", "190953.jpeg", "190958.jpeg", "191010.jpeg", "191019.jpeg", "191025.jpeg", "191037.jpeg", "191042.jpeg", "191053.jpeg", "191112.jpeg", "191117.jpeg", "191131.jpeg", "191141.jpeg", "191156.jpeg", "191210.jpeg", "191219.jpeg", "191227.jpeg", "191234.jpeg", "191240.jpeg", "191251.jpeg", "191321.jpeg", "191341.jpeg", "191352.jpeg"}
by creation date:
{"190916.jpeg", "190926.jpeg", "190933.jpeg", "190938.jpeg", "190944.jpeg", "190948.jpeg", "190953.jpeg", "190958.jpeg", "19104.jpeg", "191010.jpeg", "191019.jpeg", "191025.jpeg", "191037.jpeg", "191042.jpeg", "191053.jpeg", "19110.jpeg", "19115.jpeg", "191112.jpeg", "191117.jpeg", "191131.jpeg", "191141.jpeg", "191156.jpeg", "191210.jpeg", "191219.jpeg", "191227.jpeg", "191234.jpeg", "191240.jpeg", "191251.jpeg", "19130.jpeg", "19137.jpeg", "191321.jpeg", "191341.jpeg", "191352.jpeg"}
The only difference in the OS’s is the creation date list in 10.6 is descending and in 10.9 it is ascending.
I think what may be confusing people is if you use the considering clause on a on an existing list of text items or to compare multiple text items as the clause is intended to be used then you should see what you are describing.
But the finder’s sort command is not ever going to considering anything before or after it returns it’s list.
it runs oblivious to anything outside of it’s parameters.
I admit I have never used the sort command before today that I can remember. But I cannot see how this would have been any different unless somewhere in the finders sort command before 10.6.8 the was a bug?