If 2 traces have same x and y axis then show trace1 line top of trace 2 line

var trace1 = {
x: [1, 2, 3,],
y: [16,11,12],
mode: ‘lines+markers’
};

var trace2 = {
x: [1, 2, 3, ],
y: [16, 11, 12],
mode: ‘lines’,
};

var data = [trace1, trace2];