It seems like something that can be done, but I could not find any help on the other websites.

I have a list of dates:

10/27/17
10/27/17
10/27/17
5/3/18
4/2/16
4/2/16


This is just a sample of hundreds of data with other information in their subsequent rows. Is there a macro to where the following dates can be listed where no two eqivalent dates can be listed after each other. So the duplicates can be rearranged to where no two are listed after each other in the same column. Like this:

10/27/17
4/2/16
10/27/17
5/3/18
10/27/17
4/2/16

Any response would be greatly appreciated. Please help me figure out this macro!!