Emit the SDP lines in the correct order