http://www.perlmonks.org?node_id=487306


in reply to Sort - can't

I don't see that you've set $_ to anything...
chas