If it uses recursion to do the inserts, you'd probably gain quite a bit using a non-recursive sorting algorithm. Memory allocation might also be a big factor if you're reading in the entire file into ...