2013-09-27, 12:07 PM
MariaColette Wrote:I was thinking along the lines of that... but I would have to add yet another if statement. I GUESS I'LL DO THAT unless that's not the answer. (It probably isn't.)
... I'll be scribbling in my notebook some more then.
Also,
File A has the numbers 2 4 5 7 7 9 11 12.
File B has the numbers 3 4 6 6 7 8 9 10 13 15.
It checks 2 at a time, usually. It gets to 11 and 9, checks those, places 9 before 11. Then it moves on to 12 and 10. 10 is smaller than 12, so it gets placed accordingly. It ends up with 9, 11, 10, 12.
That's exactly it. The way you should do it is, you see 11 and 9, you tell 9 "go ahead" and you hold 11 back. You do not send him on before you see who was standing after the 9 (and is now top of file A).

