[CentOS] tricky perl question - ascending order