MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Strange behavior of Sort


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.


  • Prev by Date: Re: NDSolve
  • Next by Date: Re: Find Max of "Concave" List
  • Previous by thread: Re: Strange behavior of Sort
  • Next by thread: Re: Strange behavior of Sort