A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
You can remove the duplicates without sorting first and without macros.
I first tried removing duplicates manually on your posted data with the Remove Duplicates button on the Ribbon and it failed miserably. I then tried it with VBA, using the RemoveDuplicates method of the Range Object. This also failed miserably!
I finally tried selecting the data and used Advanced Filter > Copy to another location > Unique records only
This worked just fine!