in reply to Sorting a large file
Open file while !eof { <chomp> insert into log_file values (time,value,sql) } [download]
select * from log_file order by sql [download]