MathGroup Archive 2011

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

Search the Archive

Sorting a list of symbols

  • To: mathgroup at smc.vnet.net
  • Subject: [mg116815] Sorting a list of symbols
  • From: Robert Wright <mathematicauser1 at yahoo.com>
  • Date: Tue, 1 Mar 2011 05:22:25 -0500 (EST)

Is there a way of sorting a list of symbols like {v1, v2, v3, v10, v4} such that 
it gives {v1, v2, v3, v4, v10} and not the Mathematica default of {v1,v10, v2,v3, v4}? I 
am trying to avoid using the obvious solution of {v01, v02, v03, v04, v10}!


  • Prev by Date: Local Variables in Do[]
  • Next by Date: Prepending Data to a File
  • Previous by thread: Re: Local Variables in Do[]
  • Next by thread: Re: Sorting a list of symbols