Try to isolate the program,
You've got to check the parsing, the insertion, the sorting, the printing, and whatever you are doing in line 69. It may be a good idea to create modules that you may test independently.
Also, you've got unrelated code like the time measuring.
By the way, loop on the reading operation while( getline(fin,line) )
PS: You could at least provide an example input/output