Hi Sunanda,

On Tuesday, September 3, 2002, 11:50:31 PM, you wrote:

Sac> But this doesn't preserve the input sequence -- it looks to me like
Sac> Rebol's sort is ***not*** stable.

It  actually  is, but if you use /COMPARE you need to return -1, 0
and 1 for it to be stable. (AFAIK) (-1 means a < b, 0 means a = b,
1 means a > b)

I  think  Luis  just needs to LOAD its data, and then sort it with
SORT/SKIP. He can then reproduce the string from the LOADed data.

Regards,
   Gabriele.
-- 
Gabriele Santilli <[EMAIL PROTECTED]>  --  REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to