| Bytes | Lang | Time | Link |
|---|---|---|---|
| 157 | Python | 230820T134616Z | bsoelch |
Python, 157 bytes, average byte value 79.2774
always produces a string with the lowest possible average byte value
lambda l:''.join(chr(97+[x for(x,_)in sorted([(c,-len(list(n)))for(c,n)in groupby(sorted(l))],key=lambda t:t[1])].index(c))for c in l)
from itertools import*