No, I mean a vec like "5583950372654" and I want to sort it to "02345556789". I have a file of integers that I am putting into a vec because an array will not fit them all. I actually then need to sort this vec based on values of another vec. But regardless of that, I was curious if there was a more 'perl' way to sort a vec but without converting it to an array first because of memory problems.
I can do this through creating my own sort function and have done using insertion, substitution and quicksort (just to see which was truely better) but I was curious if there was another way to do this. No, not a homework assignment unfortunetly :)