A ver.
Te la pongo facil.
usa este algoritmo
'true ascendente, false descendente
Public Sub BubbleSort(ByRef iaArray() As Long, Optional ByVal tipo As Boolean = True)
Dim n As Integer, i As Integer, j As Integer
n = UBound(iaArray)
For i = (n - 1) To 0 Step -1
For j = 0 To i
If tipo = True Then
If iaArray(j) > iaArray(j + 1) Then
Swap iaArray(j), iaArray(j + 1)
End If
Else
If iaArray(j) < iaArray(j + 1) Then
Swap iaArray(j), iaArray(j + 1)
End If
End If
Next j
Next i
End Sub
que tienes que hacer. lo siguiente.
coger todos los elementos del listbox en un array.
luego
limpiar el listbox
luego llamar la rutina
Call BubbleSort(arreglo(), True)
luego llenar el listbox otra vez.
saludos