Another method, that doesn't involve code and let's you experiment: copy the
text and paste into an Excel spreadsheet. Insert a column. Select an
arbitrary substring from each item of text eg =Mid(A1,6,4) to take 4
characters starting with the sixth. Sort on that column. Copy and paste back
into Word.