in reply to Making an array out of each line of a text file
And if you want to sort it by one of those elements, you can use a Schwartzian Transform :)