جرب الكود
Sub SortColumnC()
Sheets("دفعة2").Sort.SortFields.Clear
Sheets("دفعة2").Sort.SortFields.Add Key:=Range("C9:C100"), _
SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal
With Sheets("دفعة2").Sort
.SetRange Range("A9:R100")
.Header = xlYes
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With
End Sub