You seem to have missed (or deliberately ignored?) the question asked by Roy Johnson above. I'm sure that he won't object if I repeat his post in its entirety:
What does your data look like? Give a few sample lines of input, and what you would want the output to be from that.
In reply to Re^3: sort after split
by Not_a_Number
in thread sort after split
by lakeTrout
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |