'sort' of a challenge (Word 97 SR2)

If I have a single table cell that contains a list of numbers in a single paragraph is there a way to sort the numbers into numerical order? They must end up in a single paragraph in a single cell again.

Re: 'sort' of a challenge (Word 97 SR2)

If you numbers consist of a list like:
22,33,55,11,44
with a comma separator, I would simply select the list and replace the comma with a paragraph mark. Then select the list and do Table/Sort. Then restore the commas by replacing the paragraph marks with a comma.
The above is fine for a one-time occurrence of one or 2 cells. If many cells are involved, I'll leave it to the vba gurus.

Re: 'sort' of a challenge (Word 97 SR2)

I would convert to paragraphs as well but use excel to do the sorting. Otherwise the number of digits must be equal in order to get the sort order correct. Word sorts alphabetically and so 1 to 10 sorts as 1,10,2,3,4,5,6,7,8,9.

I don't know of a more elegant way but a macro could do it reasonably simply.
***** Edited by author *****
Whoops - I guess I don't look at the sort dialog much now do I. Of course you can sort as numbers so ignore what I said.