in reply to •Re: Sort by Email Addressin thread Sort by Email Address
my @sorted_email = map { join "", reverse split /\0/ } sort map { join "\0", reverse /(\A[^@]+\@|\G[^.]+(?:\.|\z))/g } @email; [download]
Makeshifts last the longest.