in reply to Re^2: Sorting By Column
in thread Sorting By Column

You're right -- based on the sample data the OP shared, I assumed that both files would have the same number of lines. Thanks for pointing this out, I should have mentioned it explicitely.

Replies are listed 'Best First'.
Re^4: Sorting By Column
by Roguehorse (Initiate) on Jul 10, 2014 at 21:12 UTC

    Thanks AppleFritter!

    The original file is combined such as what I'm trying to achieve so for every key 1 there is a key 2.

    This should work fine and I will work with it (or a variation thereof).

    The sample provided was just a snipping from the original file as an example of what I'm working with.