Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Simple sorting

From: sjohnson::cornerstonepaymentsystems::com at: 25-Sep-2002 17:19

Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, Been off the list for a while because I just couldn't keep up with the volume of this great living list! Quickie question: How do I get the code, listing: sort read %., to sort alphabetically by directories first then by filenames? So, the result looks like this:
>> sort read %.
== [%dir1/ %dir2/ %dir3/ %file1 %file2 %file3] I know I'm missing something easy here...maybe a sort option? Regards, Sean C. Johnson -- Binary/unsupported file stripped by Listar -- -- Type: image/jpeg -- File: image001.jpg -- Desc: image001.jpg