def _sort_names(FQDNs):
 return sorted(FQDNs, key=(lambda fqdn: fqdn.split('.')[::(-1)][1:]))

def _sort_names ( FQDNs ) : return sorted ( FQDNs , key = ( lambda fqdn : fqdn . split ( '.' ) [ : : ( - 1 ) ] [ 1 : ] ) )
sort fqdns by sld .