added script to sort engine file output