MathGroup Archive 2007

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

Search the Archive

Re: Re: -> {"AX", "!D", "EX"}

  • To: mathgroup at smc.vnet.net
  • Subject: [mg76203] Re: [mg76074] Re: -> {"AX", "!D", "EX"}
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Thu, 17 May 2007 06:15:44 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <f26nv5$4cl$1@smc.vnet.net> <200705140753.DAA23316@smc.vnet.net> <f2btqs$igu$1@smc.vnet.net> <200705160918.FAA29508@smc.vnet.net>
  • Reply-to: murray at math.umass.edu

None of the discussion so far explains the seemingly different behavior of

    Sort[{"AX","!D","EX"}]

on the one hand, and

    Sort[{"A", "!", "E"}]

on the other hand.

Szabolcs wrote:
> Murray Eisenberg wrote:
>> The docs cited DO seem to say how strings are ordered: "as they would be 
>> in a dictionary....".
> 
> Well, "as they would be in a dictionary" is a bit fuzzy, especially if 
> the dictionary contains anything else than English words ...
> 
> Some programs even sort differently based on the language settings of 
> your operating system, and they do not always use single latin letters 
> as atoms.
> 
> Anyway, I am really curious about what motivated this decision about 
> sorting. I hope that someone from WRI will explain it.
> 

-- 
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: Guessing "exact" values
  • Next by Date: v.6 Editing Stylesheets
  • Previous by thread: Re: -> {"AX", "!D", "EX"}
  • Next by thread: Re: -> {"AX", "!D", "EX"}