Sub test()
Application.ScreenUpdating = False
k& = 13
c& = 2
Columns("A:k").Sort key1:=Range("A2"), order1:=xlAscending, Header:=xlYes
For i = 2 To Sheet1.Cells(Rows.Count, 1).End(xlUp).Row
With Sheet1
.Range("B" & i & ":K" & i).Copy
.Cells(c, k).PasteSpecial
Application.CutCopyMode = False
k = .Cells(c, .Columns.Count).End(xlToLeft).Column + 1
If .Range("A" & i) <> .Range("A" & i + 1) Then
c = c + 1
k = 13
End If
End With
Next
Application.ScreenUpdating = True
End Sub