Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: sort behavior explanation required

by lidden (Curate)
on Apr 20, 2014 at 15:06 UTC ( [id://1082945]=note: print w/replies, xml ) Need Help??


in reply to sort behavior explanation required

The second sort is numerical and when sorted numerical all those names are considered by perl to be zero.

Edit: The first sort is sorted by the ascii value of the first char in the string and if that one is the same it looks at the next one.

Log In?
Username:
Password:

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

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

    No recent polls found