example test data after sort
```
hostname_list = [
 'steve.salt.uwaterloo.ca',
 'myBLA.hostname.com',
 '199.0.0.1',
 '192.168.0.1',
 '127.9.9.1',
 'steve.com.woot::fail',
 'localhost.localdomain',
 'localhost',
 'ip6-localhost',
 'ip6-loopback',
 '127.0.1.1',
 '0.0.0.0',
 '::1',
 'fe00::',
 'fe02::',
 'my hostname.com']
```