|There's more than one way to do things|
Re^2: Sorting a "tuple" by the second valueby thmsdrew (Scribe)
|on Apr 09, 2012 at 04:53 UTC||Need Help??|
Thanks for that link, it was helpful for sure. Here's how I did it. The first subroutine gets the tuples from the file, splits them into an array, and writes them all into one array.
Then I sort by the second value and write it to another file:
I've never used the @$blah variable type before, and I couldn't find any information about it. I'm guessing that's how you refer to the arrays in an array of arrays?