How a sorted run works