Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

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


  • Prev by Date: MaxBend in ParametricPlot?
  • Next by Date: Re: error messages
  • Previous by thread: Re: RE: MaxBend in ParametricPlot?
  • Next by thread: Re: Strange behavior of Sort