sorting by date senile?

xbury.cs at clearstream.com xbury.cs at clearstream.com
Wed Mar 9 09:45:30 EST 2005


Hi everyone,

Im trying to sort a list of dates - nothing hard right?

  set itemdelimiter to tab
   sort lines of fld "dateIndex" datetime descending by item 1 of each

The dates are in item 1 - no prob.
The dates are tested with month before or after... (all days are set to 1)

But what I get is this! (or backwards!) - never mind the 2nd, 3rd 
columns...

01/10/1932      173310  2
01/10/1908      173310  2
01/09/1908      9523814 2
01/06/1908      419840  1
01/01/2004      2415830 11
01/05/2003      6293645 115
01/01/2000      5664075122      42593
01/12/1999      6476478340      39207
01/12/1998      3215445 1245

Is this a bug? I tested this in MC first and thought this was an old but
but after testing it in RR 2.5 and get the same wacky result!

cheers
Xavier


-----------------------------------------
Visit us at http://www.clearstream.com
IMPORTANT MESSAGE    Internet communications are not secure and therefore
Clearstream International does not accept legal responsibility for the
contents of this message.    The information contained in this e-mail is
confidential and may be legally privileged. It is intended solely for the
addressee. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically states
them to be the views of Clearstream International or of any of its
affiliates or subsidiaries.    END OF DISCLAIMER


More information about the use-livecode mailing list