Reworking sorting of flights
New output file
Removing extra lines