Services & Resources / Wolfram Forums
MathGroup Archive
*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


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

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}.

Wagner Truppel
wtruppel at

  • 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