Save order for write to file