in reply to split and sort functions

You don't really need that backslash in your split statement -- a comma isn't a metacharacter. But that probably isn't the kind of optimization you're looking for. :)

Then again, I'm not really clear as to what you are asking. Can you rephrase your question?


No good deed goes unpunished. -- (attributed to) Oscar Wilde