Bom dia.
Segue mais uma opção.
https://www.get-digital-help.com/sort-v ... miter-vba/
Sub SortValuesInCell()
'Dimension variables and declare data types
Dim rng As Range
Dim cell As Range
Dim del As String
Dim Arr As Variant
'Enable error handling
On Error Resume Next
'Show an inputbox and ask for a cell range
Set rng = Application.InputBox(Prompt:="Select a cell range:", _
Title:="Sort values in a single cell", _
Default:=Selection.Address, Type:=8)
'Show an inputbox and ask for a delimiting character
del = InputBox(Prompt:="Delimiting character:", _
Title:="Sort values in a single cell", _
Default:="")
'Disable error handling
On Error GoTo 0
'Iterate through each cell in cell range
For Each cell In rng
'Split values based on the delimiting character and save those to an array variable
Arr = Split(cell, del)
'Sort array using a second user defined function
SelectionSort Arr
'Concatenate array using the same delimiting character
cell = Join(Arr, del)
'Continue with next cell
Next cell
End Sub
Até
Foxtri