MACSCRPT Archives

July 2009

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Stockly, Ed" <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Wed, 15 Jul 2009 10:41:06 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
I have found it not reliable in the past (years ago). I would often get a
perfectly sorted list with the exception of the first item, which would be
random.

I adapted a bubble sort routine to handle the workaround and haven't tried
it since.

ES


On 07/15/09 10:38 AM, "RJay Hansen"  wrote:

> Another question...
> 
> I'm using the Finder's "sort" command to sort the files in the user-chosen
> folder by modification date. This is working correctly 99% of the time,
> but in my developing and testing this script, I've had two or three
> occasions where the returned list was not sorted correctly.
> 
> Anyone have any direct experience using the "sort" command and if so, have
> you found it reliable?
> 
> I'm running 10.4.11 if that makes any difference.
> 
> thx,
> 
> RJay

ATOM RSS1 RSS2