Sort languages.
Add new tests.