Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: sorting by numbers then alphabetically

by eff_i_g (Curate)
on Dec 23, 2010 at 19:44 UTC ( [id://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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://878862]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2024-04-23 15:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found