Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^3: sorting by numbers then alphabetically

by eff_i_g (Curate)
on Dec 23, 2010 at 19:44 UTC ( #878862=note: print w/replies, xml ) Need Help??

in reply to Re^2: sorting by numbers then alphabetically
in thread sorting by numbers then alphabetically

Per the docs:
Under natural sorting, strings are splitted at word and number boundaries, and the resulting substrings are compared as follows:

* numeric substrings are compared numerically
* alphabetic substrings are compared lexically
* numeric substrings come always before alphabetic substrings
  • Comment on Re^3: sorting by numbers then alphabetically

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://878862]
[choroba]: command line FTW!
[marto]: good morning all, sane dots all round
[Corion]: Hi marto! I hope all is well!

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2016-12-07 09:15 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (125 votes). Check out past polls.