Your "code" tag is missing it's second pair. It should be <code> which you have and </code> which you are missing out.
having an issue with sorting and dumping files out of a router. Here is what i got..looking to sort interfaces that are DOWN/UP
What follows is your script not the what you wanted to "sort" out. So, since you are new around here I suppose you may look into How do I post a question effectively?
Welcome to the Monastery.
If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me