Re: Strange behavior of Sort

*To*: mathgroup at smc.vnet.net*Subject*: [mg12976] Re: [mg12941] Strange behavior of Sort*From*: Sean Ross <seanross at worldnet.att.net>*Date*: Sun, 28 Jun 1998 02:52:01 -0400*References*: <199806240744.DAA03200@smc.vnet.net.>*Sender*: owner-wri-mathgroup at wolfram.com

Edward Neuman wrote: > > 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 What would you like it to do instead? I think that {1,1/Sqrt[2],-Sqrt[2]} is in proper order from greatest to smallest already.

**References**:**Strange behavior of Sort***From:*Edward Neuman <edneuman@siu.edu>