MathGroup Archive 2007

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

Search the Archive

Re: Re: Why Sort[{"AX", "!D", "EX"}] -> {"AX", "!D", "EX"}


I don't see that the docs there explain the behavior.

dimitris wrote:
> FrontEndExecute[{HelpBrowserLookup["MainBook", "A.3.9"]}]
> 
> Dimitris
> 
> =CF/=C7 Philipp =DD=E3=F1=E1=F8=E5:
>> Would anybody explain to me the Mathematica (5.2) canonical order.
>> Specifically, why
>>
>> In[]:=   Sort[{"AX", "!D", "EX"}]
>> Out[]=   {"AX", "!D", "EX"}
>>
>> while,
>>
>> In[]:=   Sort[{"A", "!", "E"}]
>> Out[]=   {"!", "A", "E"}
>>
>> Is this a bug???
>>
>> Cheers,
>>
>> Philipp.
> 
> 

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: Converting Binary form to a desired array
  • Next by Date: Re: Deleting duplicates from a list
  • Previous by thread: Re: Why Sort[{"AX", "!D", "EX"}] -> {"AX", "!D", "EX"} ?
  • Next by thread: Re: Why Sort[{"AX", "!D", "EX"}] -> {"AX", "!D", "EX"} ?