Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*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 2000

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

Search the Archive

Sorting

  • To: mathgroup at smc.vnet.net
  • Subject: [mg22067] Sorting
  • From: Wagner Truppel <wtruppel at uci.edu>
  • Date: Sat, 12 Feb 2000 04:04:26 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi folks,

can anyone tell me how I can make Mathematica sort variable names 
without sorting any numbers within those variables as strings as 
well? If you try Sort[{z2,a5,z10}] you get back {a5,z10,z2}, while I 
want to get back {a5,z2,z10}.

Thanks.
Wagner Truppel
wtruppel at uci.edu


  • Prev by Date: Re: Re: Re: Set in Scan
  • Next by Date: Re: Default values / optional parameters
  • Previous by thread: Re: Finding parts of Equations...
  • Next by thread: Re: Sorting