Use Split() and Join() for arrays and strings. Put the string from the function that I posted into an array. A simple bubble sort should then suffice. Convert the array back into a string with Join().

Here is but one example sort routine. I know of many others.
http://social.msdn.microsoft.com/For...excel-function