Option Explicit
Sub Test()
Dim derlig&, T, i&
derlig = Cells(Rows.Count, "c").End(xlUp).Row
T = Range("b2:c" & derlig)
ReDim u(1 To UBound(T))
For i = 1 To UBound(T): u(i) = T(i, 2) & Format(T(i, 1), "yyyy-mm-dd"): Next i
QuickSort u, LBound(u), UBound(u)
For i = 1 To UBound(u)
T(i, 1) = CDate(Right(u(i), 10))
T(i, 2) = Left(u(i), Len(u(i)) - 10)
Next i
Range("e:f").Clear
Range("e2").Resize(UBound(T), 2) = T
Range("e1:f1") = Range("b1:c1").Value
End Sub
Sub QuickSort(a, gauc, droi)
Dim ref, g, d, temp
ref = a((gauc + droi) \ 2)
g = gauc: d = droi
Do
Do While a(g) < ref: g = g + 1: Loop
Do While ref < a(d): d = d - 1: Loop
If g <= d Then
temp = a(g): a(g) = a(d): a(d) = temp
g = g + 1: d = d - 1
End If
Loop While g <= d
If g < droi Then Call QuickSort(a, g, droi)
If gauc < d Then Call QuickSort(a, gauc, d)
End Sub