now writes files sorted on score, fnat, irms, lrms