MathGroup Archive 2007

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

Search the Archive

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

  • To: mathgroup at smc.vnet.net
  • Subject: [mg76102] Re: -> {"AX", "!D", "EX"}
  • From: "Szabolcs Horvát" <szhorvat at gmail.com>
  • Date: Wed, 16 May 2007 05:32:29 -0400 (EDT)
  • References: <f26nv5$4cl$1@smc.vnet.net> <200705140753.DAA23316@smc.vnet.net>

It may be related to the fact that strings may contain any fancy 2D
math expression.

Try this:
Sort[{"\!\(b\^2\)", "a"}]

Szabolcs

On 15/05/07, Murray Eisenberg <murray at math.umass.edu> wrote:
> Me, too!
>
> 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: weird behavior when plotting multiple functions in 6.0
  • Next by Date: Re: Residue Function
  • Previous by thread: Re: Re: -> {"AX", "!D", "EX"}
  • Next by thread: Re: -> {"AX", "!D", "EX"}