HELP in VBA

Guys, i need help in creating a vba macro for this problem:

I need to group and order website domains together. Like

steemview.com
tree.steemview.com
free.steemview.com

So any, web domains they shall be grouped together depending on their top level domain.

Thanks!

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now