File format sorting