encodings.py: properly exclude aliases
encodings.py: sort list of encodings