Yes indeed. Order of processing is important whenever items are being
inserted or deleted. It's not usually so important at other times.
For a situation like yours, it is certainly possible to do the work in the
forward direction, but the code would be approximately twice as complex: an
inner loop would be required, and the moving last row would need to be
accounted for.