in reply to Unexpected Results

Please provide the input data and the desired output.

Replies are listed 'Best First'.
Re^2: Unexpected Results
by oldcity (Novice) on Nov 13, 2018 at 16:20 UTC
    Using CATAGORIES.DAT. Thanks hth.
    1-AT&T 2-FP&L 3-WATER 4-GAS 5-PLAN-D 6-AARP 7-DIAZ 8-DRUGS 9-HOUSE 10-CAR 11-MISC

      Is that the contents CATAGORIES.DAT or the desired output? And where's the other one?