So you have your column with all your names in it
In the next column over (Or skip one) in the first cell type " len(a1) " , if "a1" is your first cell with a domain name. If it's not, set it to whatever the correct cell is. That will count the number of letters in the domain.
Then, highlight the cell with the " len(a1) " in it and drag down (fill down) into all other 1,000+ cells (The fill down function will take 2 seconds, it's under the "edit" menu or you can hit "control-d".
Then sort your rows by the column with the lengths in them ( Data:Sort:Ascending:Column whatever it is - all self explanatory under the column menu ).
-Allan