Only two values matter.
transcript
Two sorted lists must become one sorted list. Only two values matter at a time. Look only at the fronts.
Gate A saw scans at four, nine and fifteen. Gate B saw scans at six, nine and eleven. Each gate is already in order. That order is what we will use.
Compare the two front values. Take the smaller one into the answer. Move only the pointer of that list. The other pointer stays where it is.
The smallest value left must be a front. Each list is sorted. Nothing behind a front is smaller. So the next value is always one of two. No sort is needed.
Every step takes exactly one value. Lists of n and m values take n plus m steps. No pointer ever goes back. Two million scans take about two hundredths of a second.
A full sort takes about four times longer. The order was already there. Full breakdown in the lecture.