Re: Sorting an array on the nth element in a list

2008-08-20 Thread Vlastimil Brom
2008/8/20 Ron Brennan <[EMAIL PROTECTED]> > > > Hello, > > I am trying to parse a log file. I want to sort based on the second > element the list that is in the file. > > What is the best way to do this? The sort is just on the line itself where > I want to re-organize the lines based on the sec

Sorting an array on the nth element in a list

2008-08-20 Thread Ron Brennan
Hello, I am trying to parse a log file. I want to sort based on the second element the list that is in the file. What is the best way to do this? The sort is just on the line itself where I want to re-organize the lines based on the second element of the csv file Thanks, Ron -- http://mail.pyt