On Tue, 22 Feb 2000, Leston Drake wrote:

> Okay, I answered my own question.
> 
> sort items of dValues descending
> 
> is the right syntax. I forgot "items".

You also forgot "numeric", at least if you want to do a numeric sort,
which from the looks of it you do.
  Regards,
    Scott

PS: And you also forgot to send in a bug report about the MetaCard
crash, although at least with 2.3 I can't reproduce it ;-)

> ===================================================
> To:           [EMAIL PROTECTED]
> From:         Leston Drake
> Subject:              sorting
> 
> Can anyone help me with sorting a list of numbers from largest to smallest?
> 
> For example:
> if dValues = "0.8,1.1,1.6,0.6,2.1" then I want the result of the sort to be
> dValues ="2.1,1.6,1.1,0.8,0.6"
> 
> I've tried using the sort command, but without success.
> I've only succeeded in crashing MC (EG: "sort dValues descending by amount" will 
>kill MC)
> 
> Is there a way to do this with the sort command? MC Help seems to indicate so, but I 
>can't get figure out the syntax.
> I could obviously sort the list manually but I'm looking for something more 
>efficient.
> 
> TIA
> 
> ------------------------------
> Leston Drake
> LetterPress Software, Inc.
> http://www.lpsoftware.com
> ------------------------------
> 
> 
> 
> This is the MetaCard mailing list.
> Archives: http://www.mail-archive.com/metacard%40lists.best.com/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> 

********************************************************
Scott Raney  [EMAIL PROTECTED]  http://www.metacard.com
MetaCard: You know, there's an easier way to do that...


This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm

Reply via email to