Whoops- didn't see the VBA (which I should have, given the group,
sorry!):
Same answer, but using VBA to populate the column:
Public Sub SortLastTwo()
Dim rng As Range
Set rng = Range("D2" & _
Range("A" & Rows.Count).End(xlUp).Row)
With rng
.Value = "=RIGHT(A2,2)"
.Item(1).Sort Key1:=.Item(1), Header:=True
.Clear
End With
End Sub