Write out SE sorted