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


in reply to Re^5: Sorting challenge
in thread Sorting challenge

Why not just

<>; print sort { $a <=> $b } <>;