Thanks everybody for the suggestions! I popped Greg's two functions in my script and 
it worked first time out. The others I have kept to study a bit. :)

---
Sean 
> -----Original Message-----
> From: Gregg Irwin [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 26 September, 2002 23:11
> To: [EMAIL PROTECTED]
> Subject: [REBOL] Re: Simple sorting
> 
> This is a resend. The original didn't seem to make it to the list.
> 
> Hi Sean,
> 
> << How do I get the code, listing: sort read %., to sort alphabetically by
> directories first then by filenames? So, the result looks like this:
> [%dir1/ %dir2/ %dir3/ %file1 %file2 %file3] >>
> 
> I don't know that there's a single switch to do something like that. Maybe
> someone else knows a nifty trick I don't. In any case, I whipped this up
> real quick to show how you *could* do it. It uses a function I have to
> split
> blocks into sub-blocks based on predicates.
[scj] [snipped]
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.

Reply via email to