OK, I can sort an array, but an entire csv file with 10k rows? Any suggestions anybody?
Read the CSV file into an array, sort the array, and write the result back out to a file?
On a Unix system, use a system call to its sort() function?
I found out the answer. I read the csv file and insert it into a table. I turn around and read the table "ordered by". Now I can manipulate the data as it is returned from the table and I am done. Perhaps not the slickest way but it works