Eugene are you looking for a VBA solution or worksheet solution? As for the worksheet solution if you have the values sorted in column A, put in the cell you want
and so on.=A1 & " " & A2 & " " & A3 & " " & A4
I personally don't know how to sort within a cell. Sorry.
Good Luck
Gary