Strange behavior of Sort
- To: mathgroup at smc.vnet.net
- Subject: [mg12941] Strange behavior of Sort
- From: Edward Neuman <edneuman at siu.edu>
- Date: Wed, 24 Jun 1998 03:44:59 -0400
- Organization: Southern Illinois University - Carbondale
- Sender: owner-wri-mathgroup at wolfram.com
In Mathematica 3.0:
In[5]:=
li={1/Sqrt[2], 1, -Sqrt[2]};
In[7]:=
Sort[li]//InputForm
Out[7]//InputForm=
{1, 1/Sqrt[2], -Sqrt[2]}
Sort doesn't work properly on this list.
Edward Neuman
- Follow-Ups:
- Re: Strange behavior of Sort
- From: Sean Ross <seanross@worldnet.att.net>
- Re: Strange behavior of Sort