That what you're after?
(I bodged the numbers on the bubble sort swaps so that you could see there were 4 lines not 3)
Highlighted all the data, inserted an X-Y Scatter with lines, then right click the graph, Select Data then click 'Switch Row/Column' and it moves the 'Numbers' column over to the X axis, keeping the rest as series
That what you're after?
(I bodged the numbers on the bubble sort swaps so that you could see there were 4 lines not 3)
Highlighted all the data, inserted an X-Y Scatter with lines, then right click the graph, Select Data then click 'Switch Row/Column' and it moves the 'Numbers' column over to the X axis, keeping the rest as series